pro_text; $json['pro_url'] = esc_url( $this->pro_url ); return $json; } /** * Outputs the Underscore.js template. * * @since 1.0.0 * @access public * @return void */ protected function render_template() { $pro_link = $this->get_pro_link(); if( !empty( $pro_link ) ){ ?>
  • get_recommended_plugins(); } public function get_recommended_plugins(){ // Show only if activated from child theme if( apply_filters( 'bizberg_show_recommended_plugins_on_customizer', false ) == false ){ return; } $status = get_option( 'bizberg_disable_recommended_plugins_status', false ); // If user close the recommended box dont show it next time if( $status ){ return; } // If plugin is already installed donot run the below code if( defined( 'CDI_PLUGIN_DIR_PATH' ) ){ return; } ?>