This function has been deprecated. Use unregister_setting() instead.
remove_option_update_handler( string $option_group, string $option_name, callable $sanitize_callback = '' )
Unregister a setting
Description
See also
Parameters
- $option_group
-
(Required)
- $option_name
-
(Required)
- $sanitize_callback
-
(Optional)
Default value: ''
Source
File: wp-admin/includes/deprecated.php
function remove_option_update_handler( $option_group, $option_name, $sanitize_callback = '' ) {
_deprecated_function( __FUNCTION__, 'WP-3.0.0', 'unregister_setting()' );
unregister_setting( $option_group, $option_name, $sanitize_callback );
}
Changelog
Version | Description |
---|---|
WP-3.0.0 | Use unregister_setting() |
WP-2.7.0 | Introduced. This function has been deprecated. Use unregister_setting() instead. |