From 603d81b1d3a6a9ddfa23860a4dd53703e4bdd101 Mon Sep 17 00:00:00 2001 From: Eileen Mack Date: Thu, 3 Aug 2023 15:26:48 -0400 Subject: [PATCH] fix: detect new versions of squarecandy-acf-works plugin --- inc/acf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/acf.php b/inc/acf.php index 6069e15..0545b86 100644 --- a/inc/acf.php +++ b/inc/acf.php @@ -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',