From cd208764a0f631b5d72fcf272e819f4c013a68dc Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Fri, 23 Jul 2021 17:02:47 -0500 Subject: Remove more nag notices. --- .../layout/class-astra-footer-layout-configs.php | 14 -------------- .../layout/class-astra-header-layout-configs.php | 2 +- .../layout/class-astra-site-container-layout-configs.php | 2 +- 3 files changed, 2 insertions(+), 16 deletions(-) (limited to 'inc/customizer/configurations/layout') diff --git a/inc/customizer/configurations/layout/class-astra-footer-layout-configs.php b/inc/customizer/configurations/layout/class-astra-footer-layout-configs.php index 79da36a..677fd88 100644 --- a/inc/customizer/configurations/layout/class-astra-footer-layout-configs.php +++ b/inc/customizer/configurations/layout/class-astra-footer-layout-configs.php @@ -453,20 +453,6 @@ if ( ! class_exists( 'Astra_Footer_Layout_Configs' ) ) { ), ), - /** - * Option: Learn More about Footer Widget - */ - array( - 'name' => ASTRA_THEME_SETTINGS . '[ast-footer-widget-more-feature-description]', - 'type' => 'control', - 'control' => 'ast-description', - 'section' => 'section-footer-adv', - 'priority' => 999, - 'label' => '', - 'help' => '

' . __( 'More Options Available in Astra Pro!', 'astra' ) . '

' . __( 'Learn More', 'astra' ) . '', - 'settings' => array(), - ), - ); $configurations = array_merge( $configurations, $config ); diff --git a/inc/customizer/configurations/layout/class-astra-header-layout-configs.php b/inc/customizer/configurations/layout/class-astra-header-layout-configs.php index 8c6549e..81b976a 100644 --- a/inc/customizer/configurations/layout/class-astra-header-layout-configs.php +++ b/inc/customizer/configurations/layout/class-astra-header-layout-configs.php @@ -652,7 +652,7 @@ if ( ! class_exists( 'Astra_Header_Layout_Configs' ) ) { $configurations = array_merge( $configurations, $_configs ); // Learn More link if Astra Pro is not activated. - if ( ! defined( 'ASTRA_EXT_VER' ) ) { + if ( false ) { $config = array( diff --git a/inc/customizer/configurations/layout/class-astra-site-container-layout-configs.php b/inc/customizer/configurations/layout/class-astra-site-container-layout-configs.php index cb38b95..1622597 100644 --- a/inc/customizer/configurations/layout/class-astra-site-container-layout-configs.php +++ b/inc/customizer/configurations/layout/class-astra-site-container-layout-configs.php @@ -129,7 +129,7 @@ if ( ! class_exists( 'Astra_Site_Container_Layout_Configs' ) ) { $configurations = array_merge( $configurations, $_configs ); // Learn More link if Astra Pro is not activated. - if ( ! defined( 'ASTRA_EXT_VER' ) ) { + if ( false ) { $config = array( -- cgit v1.2.3-60-g2f50