From 9d4123cee1867ee7199b06bdc92d40611f547ecc Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Wed, 21 Jul 2021 14:54:07 -0500 Subject: Initial unmodified import from Astra (Version: 3.6.5) @ /wp-content/themes/astra/. --- .../class-astra-pro-upgrade-link-configs.php | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 inc/customizer/astra-pro/class-astra-pro-upgrade-link-configs.php (limited to 'inc/customizer/astra-pro/class-astra-pro-upgrade-link-configs.php') diff --git a/inc/customizer/astra-pro/class-astra-pro-upgrade-link-configs.php b/inc/customizer/astra-pro/class-astra-pro-upgrade-link-configs.php new file mode 100644 index 0000000..9326c2b --- /dev/null +++ b/inc/customizer/astra-pro/class-astra-pro-upgrade-link-configs.php @@ -0,0 +1,57 @@ + 'astra-pro', + 'type' => 'section', + 'ast_type' => 'astra-pro', + 'title' => esc_html__( 'More Options Available in Astra Pro!', 'astra' ), + 'pro_url' => htmlspecialchars_decode( astra_get_pro_url( 'https://wpastra.com/pricing/', 'customizer', 'upgrade-link', 'upgrade-to-pro' ) ), + 'priority' => 1, + 'section_callback' => 'Astra_Pro_Customizer', + ), + + array( + 'name' => ASTRA_THEME_SETTINGS . '[astra-pro-section-notice]', + 'type' => 'control', + 'transport' => 'postMessage', + 'control' => 'ast-hidden', + 'section' => 'astra-pro', + 'priority' => 0, + ), + + ); + + return array_merge( $configurations, $_configs ); + + } + } +} + +new Astra_Pro_Upgrade_Link_Configs(); -- cgit v1.2.3-60-g2f50