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



twentytwentytwo_block_pattern_categories › WordPress Filter Hooks

SinceTwenty Twenty-Two 1.0
Deprecatedn/a
apply_filters( 'twentytwentytwo_block_pattern_categories', $block_pattern_categories )
Parameters:
  • (array[]) $block_pattern_categories { An associative array of block pattern categories, keyed by category name. @type array[] $properties { An array of block category properties. @type string $label A human-readable label for the pattern category. } }
    Required: Yes
Defined at:
Codex:

Filters the theme block pattern categories.





Source

$block_pattern_categories = apply_filters( 'twentytwentytwo_block_pattern_categories', $block_pattern_categories );