add_option

Advertisement

Summery Summery

Fires before an option is added.

Syntax Syntax

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

Parameters Parameters

$option

(string) Name of the option to add.

$value

(mixed) 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?