wpseek.com
A WordPress-centric search engine for devs and theme authors



add_option_{$option} › WordPress Action Hooks

Since3.0.0
Deprecatedn/a
do_action( "add_option_{$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 after a specific option has been added.

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





Source

do_action( "add_option_{$option}", $option, $value );