Uma área de pesquisa sobre o WordPress para devs e autores do tema



register_setting_args ›

Desde4.7.0
Obsoleton/a
apply_filters( 'register_setting_args', $args, $defaults, $option_group, $option_name )
Parâmetros: (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
Definido em:
Codex:

Filters the registration arguments when registering a setting.





Fonte

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