Home/Hooks/added_option
ACTION

added_option

Fires after an option has been added.

wp-includes/option.php
Line 1187
2 Parameters
View Source

Usage

add_action( 'added_option', 'your_callback_function', 10, 2 );

Action Callback:

function your_callback_function( $option, $value ) {
    // Your code here
    
}

Parameters

$option

Parameter 1

$value

Parameter 2

⚡ Action Hook

Action hooks allow you to insert custom code at specific points during WordPress execution. Actions do not return any values.