wphooks.info - added_option

added_option

(trunk - 5.0-alpha-43293)

The hook occurs in the following file:

wp-includes/option.php:
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
	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.