Uses
| Uses | Description |
|---|---|
| wp-includes/option.php: unregister_setting() | Unregisters a setting. |
| wp-includes/functions.php: _deprecated_function() | Mark a function as deprecated and inform when it has been used. |
This function has been deprecated. Use unregister_setting() instead.
Unregister a setting
(string) (Required)
(string) (Required)
(callable) (Optional)
Default value: ''
File: wp-admin/includes/deprecated.php
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 );
} | Version | Description |
|---|---|
| 3.0.0 | Use unregister_setting() |
| 2.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/remove_option_update_handler