remove_option_whitelist

函数


remove_option_whitelist ( $del_options, $options = '' )
参数
  • (array)
    $del_options
    Required:
  • (string|array)
    $options
    Required:
    Default: (empty)
返回值
  • (array)
定义位置
  • wp-includes/deprecated.php
    , line 4088
引入
2.7.0
弃用
5.5.0

Removes a list of options from the allowed options list.

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

	return remove_allowed_options( $del_options, $options );
}