wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



theme_block_pattern_files › WordPress Filter Hooks

Seit6.8.0
Veraltetn/v
apply_filters( 'theme_block_pattern_files', $files, $dirpath )
Parameter: (2)
  • (array) $files Array of theme files found within `patterns` directory.
    Erforderlich: Ja
  • (string) $dirpath Path of theme `patterns` directory being scanned.
    Erforderlich: Ja
Definiert in:
Codex:

Filters list of block pattern files for a theme.





Quellcode

$files = apply_filters( 'theme_block_pattern_files', $files, $dirpath );