Skip to content

Commit

Permalink
fix function_exists check
Browse files Browse the repository at this point in the history
  • Loading branch information
richtabor committed Nov 22, 2024
1 parent 90dcf1f commit 62aafb1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' ) )
Expand Down

0 comments on commit 62aafb1

Please sign in to comment.