- Timestamp:
- 12/20/2021 04:48:54 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentytwo/inc/block-patterns.php
r52375 r52392 10 10 * 11 11 * @since Twenty Twenty-Two 1.0 12 * 13 * @return void 12 14 */ 13 15 function twentytwentytwo_register_block_patterns() { 14 16 $block_pattern_categories = array( 15 17 'featured' => array( 'label' => __( 'Featured', 'twentytwentytwo' ) ), 16 'footer' => array( 'label' => __( 'Footers', 'twentytwentytwo' ) ),17 'header' => array( 'label' => __( 'Headers', 'twentytwentytwo' ) ),18 'query' => array( 'label' => __( 'Query', 'twentytwentytwo' ) ),19 'pages' => array( 'label' => __( 'Pages', 'twentytwentytwo' ) ),18 'footer' => array( 'label' => __( 'Footers', 'twentytwentytwo' ) ), 19 'header' => array( 'label' => __( 'Headers', 'twentytwentytwo' ) ), 20 'query' => array( 'label' => __( 'Query', 'twentytwentytwo' ) ), 21 'pages' => array( 'label' => __( 'Pages', 'twentytwentytwo' ) ), 20 22 ); 21 23 … … 118 120 * @since Twenty Twenty-Two 1.0 119 121 * 120 * @param $block_patterns arrayList of block patterns by name.122 * @param array $block_patterns List of block patterns by name. 121 123 */ 122 124 $block_patterns = apply_filters( 'twentytwentytwo_block_patterns', $block_patterns );
Note: See TracChangeset
for help on using the changeset viewer.