Skip to content

Commit

Permalink
fix: detect new versions of squarecandy-acf-works plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
basscl committed Aug 3, 2023
1 parent 3eab5ac commit 603d81b
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' ) ) :
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 603d81b

Please sign in to comment.