Changeset 59244 for trunk/src/wp-content/themes/twentyten/functions.php
- Timestamp:
- 10/17/2024 12:35:01 AM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyten/functions.php
r59219 r59244 782 782 add_action( 'enqueue_block_editor_assets', 'twentyten_block_editor_styles' ); 783 783 784 // Block Patterns. 785 require get_template_directory() . '/block-patterns.php'; 784 /** 785 * Register block patterns and pattern categories. 786 * 787 * @since Twenty Ten 4.3 788 */ 789 function twentyten_register_block_patterns() { 790 require get_template_directory() . '/block-patterns.php'; 791 } 792 793 add_action( 'init', 'twentyten_register_block_patterns' ); 786 794 787 795 if ( ! function_exists( 'wp_body_open' ) ) :
Note: See TracChangeset
for help on using the changeset viewer.