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



register_setting_args ›

Since4.7.0
已弃用n/a
apply_filters( 'register_setting_args', $args, $defaults, $option_group, $option_name )
参数: (4)
  • (array) $args Array of setting registration arguments.
    Required: Yes
  • (array) $defaults Array of default arguments.
    Required: Yes
  • (string) $option_group Setting group.
    Required: Yes
  • (string) $option_name Setting name.
    Required: Yes
定义在:
文档:

Filters the registration arguments when registering a setting.





源码

$args = apply_filters( 'register_setting_args', $args, $defaults, $option_group, $option_name );