A WordPress-centric search engine for devs and theme authors



add_option ›

Since2.9.0
Deprecatedn/a
do_action( 'add_option', $option, $value )
Parameters: (2)
  • (string) $option Name of the option to add.
    Required: Yes
  • (mixed) $value Value of the option.
    Required: Yes
Defined at:
Codex:

Fires before an option is added.





Source

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