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

Glossary Term

wp_should_load_block_assets_on_demand()

3 tags 1 category

wp_should_load_block_assets_on_demand() — Checks whether block styles should be loaded only on-render. When this function returns true, other functions ensure that blocks only load their assets on-render. When this function returns false, all block assets are loaded regardless of whether they are rendered in a page. The default return value depends on the result of {

Returns bool: Whether to load block assets only when they are rendered.

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…