wpseek.com
A WordPress-centric search engine for devs and theme authors



twentytwentytwo_block_patterns › WordPress Filter Hooks

SinceTwenty Twenty-Two 1.0
Deprecatedn/a
apply_filters( 'twentytwentytwo_block_patterns', $block_patterns )
Parameters:
  • () $block_patterns array List of block patterns by name.
    Required: Yes
Defined at:
Codex:

Filters the theme block patterns.





Source

$block_patterns = apply_filters( 'twentytwentytwo_block_patterns', $block_patterns );