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



register_setting › WordPress Action Hooks

Since5.5.0
Deprecatedn/a
do_action( 'register_setting', $option_group, $option_name, $args )
Parameters: (3)
  • (string) $option_group Setting group.
    Required: Yes
  • (string) $option_name Setting name.
    Required: Yes
  • (array) $args Array of setting registration arguments.
    Required: Yes
Defined at:
Codex:

Fires immediately before the setting is registered but after its filters are in place.





Source

do_action( 'register_setting', $option_group, $option_name, $args );