Skip to content

Commit

Permalink
fix: fix plugin exists error
Browse files Browse the repository at this point in the history
  • Loading branch information
basscl committed Dec 13, 2023
1 parent aeb30e3 commit 418c3d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/acf.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ function remove_default_event_category_metabox() {
endif;

// allow linking to "works" if the Square Candy ACF Composer Works plugin is enabled
if ( function_exists( 'is_plugin_active' ) && is_plugin_active( 'squarecandy-acf-works/squarecandy-acf-works.php' ) || is_plugin_active( 'squarecandy-acf-works/plugin.php' ) ) :
if ( function_exists( 'is_plugin_active' ) && ( is_plugin_active( 'squarecandy-acf-works/squarecandy-acf-works.php' ) || is_plugin_active( 'squarecandy-acf-works/plugin.php' ) ) ) :
$eventfields['featured_works'] = array(
'key' => 'field_5841cdf6350d1',
'label' => 'Featured Works',
Expand Down

0 comments on commit 418c3d0

Please sign in to comment.