File "embedding-in-theme.php"

Full Path: /home/vantageo/public_html/cache/cache/cache/cache/cache/cache/cache/cache/cache/.wp-cli/wp-content/plugins/ajax-search-for-woocommerce/partials/admin/embedding-in-theme.php
File size: 858 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

use DgoraWcas\Admin\Promo\Upgrade;

// Exit if accessed directly
if ( ! defined( 'DGWT_WCAS_FILE' ) ) {
	exit;
}

if ( DGWT_WCAS()->themeCompatibility->isCurrentThemeSupported() ):

	if ( ! DGWT_WCAS()->themeCompatibility->isWhiteLabel() ):

		$name = DGWT_WCAS()->themeCompatibility->getThemeName();
		$parentLabel = '';

		if ( DGWT_WCAS()->themeCompatibility->isChildTheme() ) {
			$parentLabel = ', ' . sprintf( __( 'child theme of <b>%s</b>', 'ajax-search-for-woocommerce' ), DGWT_WCAS()->themeCompatibility->getParentThemeName() );
		}

		?>
		<h2><?php printf( __( 'You are using the <b>%s</b> theme%s. Fantastic!', 'ajax-search-for-woocommerce' ), $name, $parentLabel ); ?></h2>
		<p><?php _e( 'We support this theme so you can easily replace all default search bars.', 'ajax-search-for-woocommerce' ); ?></p>
	<?php endif; ?>
<?php endif; ?>