get_block_templates

Filter Hook: Filters the array of queried block templates array after they’ve been fetched.

Source: wp-includes/block-template-utils.php:736

Used by 1 function | Uses 0 functions

_flatten_blocks()

Function: Returns an array containing the references of the passed blocks and their inner blocks.

Source: wp-includes/block-template-utils.php:402

Used by 2 functions | Uses 0 functions

get_block_theme_folders()

Function: For backward compatibility reasons, block themes might be using block-templates or block-template-parts, this function ensures we fallback to these folders properly.

Source: wp-includes/block-template-utils.php:39

Used by 2 functions | Uses 2 functions