_filter_block_template_part_area()
Checks whether the input ‘area’ is a supported value.
Checks whether the input ‘area’ is a supported value.
Returns an array containing the references of the passed blocks and their inner blocks.
Retrieves the template file from the theme for a given slug.
Retrieves the template files from the theme.
Finds all nested template part file paths in a theme’s directory.
Parses wp_template content and injects the active theme’s stylesheet as a theme attribute into each wp_template_part
Register Core’s official patterns from wordpress.org/patterns.
Register Featured (category) patterns from wordpress.org/patterns.
Parses a block template and removes the theme attribute from each template part.
Sets the current WP_Query to return auto-draft posts.