remove_option_update_handler

Definition:
function remove_option_update_handler( $option_group, $option_name, $sanitize_callback = '' ) {}

Unregister a setting

Parameters

  • unknown_type $option_group
  • unknown_type $option_name
  • unknown_type $sanitize_callback

Source code

function remove_option_update_handler( $option_group, $option_name, $sanitize_callback = '' ) {

	_deprecated_function( __FUNCTION__, '3.0', 'unregister_setting()' );

	return unregister_setting( $option_group, $option_name, $sanitize_callback );

}

2713

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: