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



remove_option_update_handler › WordPress Function

Since2.7.0
Deprecated3.0.0
remove_option_update_handler ( $option_group, $option_name, $sanitize_callback = '' )
Parameters: (3)
  • (string) $option_group The settings group name used during registration.
    Required: Yes
  • (string) $option_name The name of the option to unregister.
    Required: Yes
  • (callable) $sanitize_callback Optional. Deprecated.
    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 );
}