wpseek.com
WordPress开发者和主题制作者的搜索引擎



remove_option_whitelist › WordPress Function

Since2.7.0
已弃用5.5.0
remove_option_whitelist ( $del_options, $options = '' )
参数: (2)
  • (array) $del_options
    Required: Yes
  • (string|array) $options
    Required: No
    默认: (empty)
返回:
  • (array)
定义在:
文档:

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 );
}