_get_block_templates_paths


_get_block_templates_paths ( $base_directory )

Access:
  • private
Parameters:
  • (string) base_directory The theme's file path.
Returns:
  • (string[]) A list of paths to all template part files.
Defined at:

Description

Finds all nested template part file paths in a theme's directory.

Related Functions

_get_block_templates_files, get_block_templates, get_block_template, _get_block_template_file, block_template_part

Top Google Results

User discussions

wpseek mobile