wpseek.com
WordPress开发者和主题制作者的搜索引擎



add_option_{$option} › WordPress动作钩子

Since3.0.0
已弃用n/a
› do_action( "add_option_{$option}", $option, $value )
参数: (2)
  • () option Name of the option to add.
    Required: Yes
  • () value Value of the option.
    Required: Yes
定义在:
文档:

Fires after a specific option has been added.

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




源码

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