_inject_theme_attribute_in_block_template_content()
Parses wp_template content and injects the active theme’s stylesheet as a theme attribute into each wp_template_part
Parses wp_template content and injects the active theme’s stylesheet as a theme attribute into each wp_template_part
Parses a block template and removes the theme attribute from each template part.
Print the footer template-part.
Print the header template-part.
Print a template-part.
Returns a filtered list of allowed area values for template parts.
Retrieves a single unified template object using its id.
Retrieves a single unified template object using its id.
Retrieves a list of unified template objects based on a query.
For backward compatibility reasons, block themes might be using block-templates or block-template-parts, this function ensures we fallback…