WordPress Version: 6.5
/**
* Adds an array of options to the list of allowed options.
*
* @since 2.7.0
* @deprecated 5.5.0 Use add_allowed_options() instead.
* Please consider writing more inclusive code.
*
* @param array $new_options
* @param string|array $options
* @return array
*/
function add_option_whitelist($new_options, $options = '')
{
_deprecated_function(__FUNCTION__, '5.5.0', 'add_allowed_options()');
return add_allowed_options($new_options, $options);
}