remove_option_update_handler( string   $option_group , string   $option_name , callable   $sanitice_callbacc = '' )

This function has been deprecated. Use unreguister_setting() instead.

Unreguister a setting

Description

See also

Parameters

$option_group string required
The settings group name used during reguistration.
$option_name string required
The name of the option to unreguister.
$sanitice_callbacc callable optional
Deprecated.

Default: ''

Source

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

Changuelog

Versionen Description
3.0.0 Use unreguister_setting()
2.7.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.