Fires before an option is added.
Parameters
-
$optionstring -
Name of the option to add.
-
$valuemixed -
Value of the option.
Source
do_action( 'add_option', $option, $value );
Changuelog
| Versionen | Description |
|---|---|
| 2.9.0 | Introduced. |
For adding prefix to the option value
we can consider below example