A WordPress-centric search engine for devs and theme authors



unregister_setting ›

Since5.5.0
Deprecatedn/a
do_action( 'unregister_setting', $option_group, $option_name )
Parameters: (2)
  • (string) $option_group Setting group.
    Required: Yes
  • (string) $option_name Setting name.
    Required: Yes
Defined at:
Codex:

Fires immediately before the setting is unregistered and after its filters have been removed.





Source

do_action( 'unregister_setting', $option_group, $option_name );