99 * @since Twenty Twenty-Five 1.0
1010 */
1111
12- // Adds theme support for post formats.
1312if ( ! function_exists ( 'twentytwentyfive_post_format_setup ' ) ) :
1413 /**
1514 * Adds theme support for post formats.
@@ -24,7 +23,6 @@ function twentytwentyfive_post_format_setup() {
2423endif ;
2524add_action ( 'after_setup_theme ' , 'twentytwentyfive_post_format_setup ' );
2625
27- // Enqueues editor-style.css in the editors.
2826if ( ! function_exists ( 'twentytwentyfive_editor_style ' ) ) :
2927 /**
3028 * Enqueues editor-style.css in the editors.
@@ -39,7 +37,6 @@ function twentytwentyfive_editor_style() {
3937endif ;
4038add_action ( 'after_setup_theme ' , 'twentytwentyfive_editor_style ' );
4139
42- // Enqueues the theme stylesheet on the front.
4340if ( ! function_exists ( 'twentytwentyfive_enqueue_styles ' ) ) :
4441 /**
4542 * Enqueues the theme stylesheet on the front.
@@ -67,7 +64,6 @@ function twentytwentyfive_enqueue_styles() {
6764endif ;
6865add_action ( 'wp_enqueue_scripts ' , 'twentytwentyfive_enqueue_styles ' );
6966
70- // Registers custom block styles.
7167if ( ! function_exists ( 'twentytwentyfive_block_styles ' ) ) :
7268 /**
7369 * Registers custom block styles.
@@ -96,7 +92,6 @@ function twentytwentyfive_block_styles() {
9692endif ;
9793add_action ( 'init ' , 'twentytwentyfive_block_styles ' );
9894
99- // Registers pattern categories.
10095if ( ! function_exists ( 'twentytwentyfive_pattern_categories ' ) ) :
10196 /**
10297 * Registers pattern categories.
@@ -126,7 +121,6 @@ function twentytwentyfive_pattern_categories() {
126121endif ;
127122add_action ( 'init ' , 'twentytwentyfive_pattern_categories ' );
128123
129- // Registers block binding sources.
130124if ( ! function_exists ( 'twentytwentyfive_register_block_bindings ' ) ) :
131125 /**
132126 * Registers the post format block binding source.
@@ -147,7 +141,6 @@ function twentytwentyfive_register_block_bindings() {
147141endif ;
148142add_action ( 'init ' , 'twentytwentyfive_register_block_bindings ' );
149143
150- // Registers block binding callback function for the post format name.
151144if ( ! function_exists ( 'twentytwentyfive_format_binding ' ) ) :
152145 /**
153146 * Callback function for the post format name block binding source.
0 commit comments