added_option WordPress Action Hook
The added_option WordPress hook is triggered when a new option is added to the database. This hook can be used to perform a variety of actions, such as updating a cached copy of the options table or sending a notification to the administrator.
do_action( 'added_option', string $option , mixed $value ) #
Fires after an option has been added.
Parameters
- $option
(string)Name of the added option.
- $value
(mixed)Value of the option.
Source
File: wp-includes/option.php
Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |