Action hook 'add_option'

in WP Core File wp-includes/option.php at line 1118

Description

Fires before an option is added.

Occurrences

Filename Line Number
wp-includes/option.php 1118

Parameters

Type Name Description
string $option Name of the option to add.
mixed $value Value of the option.

PHP Doc

/**
	 * Fires before an option is added.
	 *
	 * @since 2.9.0
	 *
	 * @param string $option Name of the option to add.
	 * @param mixed  $value  Value of the option.
	 */