Function replaceOption
Replaces/renames an option. If the old option exits, it creates the new option with the old option's value as the default unless the new option has already been set otherwise. Independently it always deletes the old option.
Package: plugins\deprecated-functions
Deprecated: Zenphoto 2.0 – Use renameOptionl() instead
Since: Zenphoto 1.5.1
Located at zp-extensions/deprecated-functions/deprecated-functions.php
Deprecated: Zenphoto 2.0 – Use renameOptionl() instead
Since: Zenphoto 1.5.1
Located at zp-extensions/deprecated-functions/deprecated-functions.php
string |
$oldkey |
Old option name |
string |
$newkey |
New option name |