Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

wp_filter_out_block_nodes()

3 tags 1 category

wp_filter_out_block_nodes() — 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.

Returns array> A filtered array of style nodes.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…