A WordPress-centric search engine for devs and theme authors



remove_option_update_handler ›

Since2.7.0
Deprecated3.0.0
remove_option_update_handler ( $option_group, $option_name, $sanitize_callback = '' )
Parameters: (3)
  • (string) $option_group
    Required: Yes
  • (string) $option_name
    Required: Yes
  • (callable) $sanitize_callback
    Required: No
    Default: (empty)
See:
Defined at:
Codex:

Unregister a setting



Source

function remove_option_update_handler( $option_group, $option_name, $sanitize_callback = '' ) {
	_deprecated_function( __FUNCTION__, '3.0.0', 'unregister_setting()' );
	unregister_setting( $option_group, $option_name, $sanitize_callback );
}