wphooks.info - added_option

added_option

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/option.php:
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
	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.