Changeset 59244 for trunk/src/wp-content/themes/twentytwenty/functions.php
- Timestamp:
- 10/17/2024 12:35:01 AM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/functions.php
r57842 r59244 176 176 require get_template_directory() . '/inc/custom-css.php'; 177 177 178 // Block Patterns. 179 require get_template_directory() . '/inc/block-patterns.php'; 178 /** 179 * Register block patterns and pattern categories. 180 * 181 * @since Twenty Twenty 2.8 182 */ 183 function twentytwenty_register_block_patterns() { 184 require get_template_directory() . '/inc/block-patterns.php'; 185 } 186 187 add_action( 'init', 'twentytwenty_register_block_patterns' ); 180 188 181 189 /**
Note: See TracChangeset
for help on using the changeset viewer.