remove_option_whitelist( array $del_options, string|array $options =  ): array

In this article

This function has been deprecated. Use remove_allowed_options() instead. Please consider writing more inclusive code.

Removes a list of options from the allowed options list.

Parameters

$del_optionsarrayrequired
$optionsstring|arrayoptional

Default:''

Return

array

Source

function remove_option_whitelist( $del_options, $options = '' ) {
	_deprecated_function( __FUNCTION__, '5.5.0', 'remove_allowed_options()' );

	return remove_allowed_options( $del_options, $options );
}

Changelog

VersionDescription
5.5.0Use remove_allowed_options() instead.
Please consider writing more inclusive code.
2.7.0Introduced.

User Contributed Notes

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