Filters list of block pattern files for a theme.
Parameters
$files
array- Array of theme files found within
patterns
directory. $dirpath
string- Path of theme
patterns
directory being scanned.
Source
$files = apply_filters( 'theme_block_pattern_files', $files, $dirpath );
Changelog
Version | Description |
---|---|
6.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.