remove_option_update_handler() – Unregister a setting

You appear to be a bot. Output may be restricted

Description

Unregister a setting

Usage

remove_option_update_handler( $option_group, $option_name, $sanitize_callback );

Parameters

$option_group
( string ) required – The settings group name used during registration.
$option_name
( string ) required – The name of the option to unregister.
$sanitize_callback
( callable ) optional – Optional. Deprecated.

Returns

void

Source

File name: wordpress/wp-admin/includes/deprecated.php
Lines:

1 to 4 of 4
function remove_option_update_handler( $option_group, $option_name, $sanitize_callback = '' ) {
  _deprecated_function( remove_option_update_handler, '3.0.0', 'unregister_setting()' );
  unregister_setting( $option_group, $option_name, $sanitize_callback );
}
 

 View on GitHub View on Trac