added_option

added_option

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('added_option') is found 1 times:

  • /wp-includes/option.php line 1178
    	 *
    	 * @param string $option Name of the added option.
    	 * @param mixed  $value  Value of the option.
    	 */
    	do_action( 'added_option', $option, $value );
    
    	return true;
    }
    
    /**
     * Removes an option by name. Prevents removal of protected WordPress options.
    

See this hook used in plugins: