WordPress at Your Fingertips
action is not described

add_option_(option) action-hook . WP 3.0.0

Fires after a specific option has been added.

The dynamic portion of the hook name, $option, refers to the option name.


add_action( 'add_option_(option)', 'action_function_name_3537', 10, 2 );
function action_function_name_3537( $option, $value ){
	// action...
Name of the option to add.
Value of the option.


Since 3.0.0 Introduced.
Since 2.5.0 As "add_option_{$name}"

Where the hook is called

wp-includes/option.php 671
do_action( "add_option_{$option}", $option, $value );

Where in WP core the hook is used WordPress

wp-admin/includes/admin-filters.php 63
add_action( 'add_option_new_admin_email', 'update_option_new_admin_email', 10, 2 );