Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/option.php | do_action | 698 | /** * Fires after a specific option has been added. * * The dynamic portion of the hook name, `$option`, refers to the option name. * * @since 2.5.0 As "add_option_{$name}" * @since 3.0.0 * * @param string $option Name of the option to add. * @param mixed $value Value of the option. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $option | Name of the option to add. |
mixed | $value | Value of the option. |