wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



theme_block_pattern_files › Filtr WordPress Hooks

Od6.8.0
Przestarzałyn/a
› apply_filters( 'theme_block_pattern_files', $files, $dirpath )
Parametry: (2)
  • () files Array of theme files found within `patterns` directory.
    Wymagane: Tak
  • () dirpath Path of theme `patterns` directory being scanned.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters list of block pattern files for a theme.





Źródło

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