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



add_option ›

Since2.9.0
已弃用n/a
do_action( 'add_option', $option, $value )
参数: (2)
  • (string) $option Name of the option to add.
    Required: Yes
  • (mixed) $value Value of the option.
    Required: Yes
定义在:
文档:

Fires before an option is added.





源码

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