_get_block_templates_paths
- %1$s is private and should not be used in themes or plugins directly.
_get_block_templates_paths ( $base_directory )
Access:Parameters:- (string) base_directory The theme's file path.
Returns:- (string[]) A list of paths to all template part files.
Defined at: - Introduced in WordPress: 5.9.0
- Deprecated in WordPress: —
Description
Finds all nested template part file paths in a theme's directory.