W3cubDocs

/WordPress

do_action( ‘added_option’, string $option, mixed $value )

Fires after an option has been added.

Parameters

$optionstring
Name of the added option.
$valuemixed
Value of the option.

Source

do_action( 'added_option', $option, $value );

Changelog

Version Description
2.9.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/added_option