wpseek.com
WordPress开发者和主题制作者的搜索引擎
safecss_filter_attr_allow_css › WordPress过滤钩子
Since5.5.0
已弃用n/a
› apply_filters( 'safecss_filter_attr_allow_css', $allow_css, $css_test_string )
参数: (2) |
|
定义在: |
|
文档: |
Filters the check for unsafe CSS in `safecss_filter_attr`.
Enables developers to determine whether a section of CSS should be allowed or discarded. By default, the value will be false if the part contains \ ( & } = or comments. Return true to allow the CSS part to be included in the output.
Related Functions: safecss_filter_attr, filter_block_kses, wp_filter_out_block_nodes, wp_is_file_mod_allowed, wp_kses_check_attr_val, _flatten_blocks