wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



theme_block_pattern_files › Les Filtres WordPress

Depuis6.8.0
Dépréciéen/a
› apply_filters( 'theme_block_pattern_files', $files, $dirpath )
Paramètres: (2)
  • () files Array of theme files found within `patterns` directory.
    Requis: Oui
  • () dirpath Path of theme `patterns` directory being scanned.
    Requis: Oui
Défini(e) dans:
Codex:

Filters list of block pattern files for a theme.





Source

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