From 62aafb1d7bfafc6442e1eee560b0b588a8c7aeb4 Mon Sep 17 00:00:00 2001 From: Rich Tabor Date: Fri, 22 Nov 2024 14:55:47 -0500 Subject: [PATCH] fix function_exists check --- functions.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/functions.php b/functions.php index 8efc1f8..d780a81 100644 --- a/functions.php +++ b/functions.php @@ -73,16 +73,16 @@ function kanso_editor_styles() { add_action( 'admin_init', 'kanso_editor_styles' ); -if ( ! function_exists( 'register_newsletter_pattern_category' ) ) : +if ( ! function_exists( 'kanso_register_pattern_categories' ) ) : + /** + * Register pattern categories. + * + * @since Kanso 1.0 + * + * @return void + */ function kanso_register_pattern_categories() { - /** - * Register pattern categories. - * - * @since Kanso 1.0 - * - * @return void - */ register_block_pattern_category( 'newsletter', array( 'label' => __( 'Newsletter', 'kanso' ) )