Filters list of block pattern files for a theme.
Parameters
$filesarray- Array of theme files found within
patternsdirectory. $dirpathstring- Path of theme
patternsdirectory 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.