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



register_setting_args › WordPress Filter Hooks

Since4.7.0
Deprecatedn/a
apply_filters( 'register_setting_args', $args, $defaults, $option_group, $option_name )
Parameters: (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
Defined at:
Codex:

Filters the registration arguments when registering a setting.





Source

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