From 8c20b8f82ac1993c1b9a018c8e55c598678455b6 Mon Sep 17 00:00:00 2001 From: Armanul46 <47377178+Armanul46@users.noreply.github.com> Date: Wed, 25 Feb 2026 12:34:12 +0600 Subject: [PATCH] support condtional field on button --- templates/listing-form/custom-fields/button.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/listing-form/custom-fields/button.php b/templates/listing-form/custom-fields/button.php index 583c604ab..608a956e2 100644 --- a/templates/listing-form/custom-fields/button.php +++ b/templates/listing-form/custom-fields/button.php @@ -2,13 +2,16 @@ /** * @author wpWax * @since 6.6 - * @version 7.0.5.6 + * @version 8.7 */ if ( ! defined( 'ABSPATH' ) ) exit; + +// Get conditional logic attributes using centralized method +$conditional_logic_attr = $listing_form->get_conditional_logic_attributes( $data ); ?> -
+
>