add_option_{$option}

add_option_{$option}

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

do_action('add_option_{$option}') is found 1 times:

  • /wp-includes/option.php line 1040
    	 *
    	 * @param string $option Name of the option to add.
    	 * @param mixed  $value  Value of the option.
    	 */
    	do_action( "add_option_{$option}", $option, $value );
    
    	/**
    	 * Fires after an option has been added.
    	 *
    	 * @since 2.9.0
    	 *