wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
wp_filter_out_block_nodes › WordPress Function
Depuis6.1.0
Dépréciéen/a
› wp_filter_out_block_nodes ( $nodes )
| Paramètres: |
|
| Retourne: |
|
| Défini(e) dans: |
|
| Codex: |
Applies a filter to the list of style nodes that comes from WP_Theme_JSON::get_style_nodes().
This particular filter removes all of the blocks from the array. We want WP_Theme_JSON to be ignorant of the implementation details of how the CSS is being used. This filter allows us to modify the output of WP_Theme_JSON depending on whether or not we are loading separate assets, without making the class aware of that detail.Fonctions en relation: wp_filter_post_kses, filter_block_kses, filter_block_content, wp_filter_kses, _wp_filter_post_meta_footnotes