wphooks.info - add_option_{$option}

add_option_{$option}

(trunk - 5.0-alpha-42993)

The hook occurs in the following file:

wp-includes/option.php:
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
	 * Fires after a specific option has been added.
	 *
	 * The dynamic portion of the hook name, `$option`, refers to the option name.
	 *
	 * @since 2.5.0 As "add_option_{$name}"
	 * @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.
	 */