add_option

Advertisement

Summery Summery

Fires before an option is added.

Syntax Syntax

do_action( 'add_option', string $option, mixed $value )

Parameters Parameters

$option

Name of the option to add.

$value

Value of the option.

Source Source

File: wp-includes/option.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Advertisement

Leave a Reply