From cdaf4324b5977ef44a10f0dfa804c19bac76d795 Mon Sep 17 00:00:00 2001 From: Alexandre Faustino Date: Wed, 7 Feb 2024 15:58:53 +0000 Subject: [PATCH] Tweak: hides the extensions banner temporarily #677 --- includes/views/settings-page.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/includes/views/settings-page.php b/includes/views/settings-page.php index 41105ed97..b8f7ccc62 100644 --- a/includes/views/settings-page.php +++ b/includes/views/settings-page.php @@ -46,9 +46,10 @@ $hide_ad = get_option( 'wpo_wcpdf_hide_extensions_ad' ); } - if ( ! $hide_ad && ! ( class_exists( 'WooCommerce_PDF_IPS_Pro' ) && class_exists( 'WooCommerce_PDF_IPS_Templates' ) && class_exists( 'WooCommerce_Ext_PrintOrders' ) ) ) { - include( 'extensions.php' ); - } + // to improve later: https://github.com/wpovernight/woocommerce-pdf-invoices-packing-slips/issues/677 + // if ( ! $hide_ad && ! ( class_exists( 'WooCommerce_PDF_IPS_Pro' ) && class_exists( 'WooCommerce_PDF_IPS_Templates' ) && class_exists( 'WooCommerce_Ext_PrintOrders' ) ) ) { + // include( 'extensions.php' ); + // } // special temporary promo include( 'promo.php' );