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/. --- .../astra-pro/class-astra-pro-customizer.php | 79 ++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 inc/customizer/astra-pro/class-astra-pro-customizer.php (limited to 'inc/customizer/astra-pro/class-astra-pro-customizer.php') diff --git a/inc/customizer/astra-pro/class-astra-pro-customizer.php b/inc/customizer/astra-pro/class-astra-pro-customizer.php new file mode 100644 index 0000000..a9a8f4c --- /dev/null +++ b/inc/customizer/astra-pro/class-astra-pro-customizer.php @@ -0,0 +1,79 @@ +pro_url ); + return $json; + } + + /** + * Outputs the Underscore.js template. + * + * @since 1.0.10 + * @access public + * @return void + */ + protected function render_template() { + ?> +
  • +

    + <# if ( data.title && data.pro_url ) { #> + {{ data.title }} + <# } #> +

    +
  • +