WordPress как на ладони
wordpress jino
событие не описано

added_option хук-событие . WP 2.9.0

Fires after an option has been added.

Использование

add_action( 'added_option', 'action_function_name_8390', 10, 2 );
function action_function_name_8390( $option, $value ){
	// action...
}
$option(string)
Name of the added option.
$value(mixed)
Value of the option.

Связи хука

Используется в: add_option()

Остальные хуки из: add_option():

Кусок кода с хуком

Фрагмент из: wp-includes/option.php WP 4.9
...
	 * @since 3.0.0
	 *
	 * @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
	 *
	 * @param string $option Name of the added option.
	 * @param mixed  $value  Value of the option.
	 */
	do_action( 'added_option', $option, $value );
	return true;
}

/**
 * Removes option by name. Prevents removal of protected WordPress options.
 *
 * @since 1.2.0
 *
 * @global wpdb $wpdb WordPress database abstraction object.
 *
 * @param string $option Name of option to remove. Expected to not be SQL-escaped.
 * @return bool True, if option is successfully deleted. False on failure.
 */
function delete_option( $option ) {
	global $wpdb;
...