WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about add_option

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/option.php do_action 662 /**
* Fires before an option is added.
*
* @since 2.9.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.