do_action( "add_option_{$option}", string $option, mixed $value )

Fires after a specific option has been added.


Description

The dynamic portion of the hook name, $option, refers to the option name.


Parameters

$option

Name of the option to add.

$value

Value of the option.


Source

File: wp-includes/option.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.0.0
WP-2.5.0 Introduced. As "add*option*{$name}"