wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



theme_block_pattern_files › WordPress Filter Hooks

Da6.8.0
Deprecaton/a
› apply_filters( 'theme_block_pattern_files', $files, $dirpath )
Parametri: (2)
  • () files Array of theme files found within `patterns` directory.
    Richiesto: Sì
  • () dirpath Path of theme `patterns` directory being scanned.
    Richiesto: Sì
Definito a:
Codex:

Filters list of block pattern files for a theme.





Sorgenti

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