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



wp_custom_css_kses_init › WordPress Function

Since7.0.0
已弃用n/a
› wp_custom_css_kses_init ( 没有参数 )
访问:
  • private
定义在:
文档:

Registers the custom CSS content filters if the user does not have the edit_css capability.



源码

function wp_custom_css_kses_init() {
	wp_custom_css_remove_filters();
	if ( ! current_user_can( 'edit_css' ) ) {
		wp_custom_css_kses_init_filters();
	}
}