wphooks.info - add_option_{$option}

add_option_{$option}

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/option.php:
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
	 * 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.
	 */