| Server IP : 188.151.22.197 / Your IP : 216.73.217.74 Web Server : Apache/2.4.62 (Rocky Linux) OpenSSL/3.5.5 System : Linux wsten.se 5.14.0-687.30.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 27 13:09:21 UTC 2026 x86_64 User : apache ( 48) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/eric/vhost/eng/wp-content/plugins/elementor-pro/modules/tiers/ |
Upload File : |
<?php
namespace ElementorPro\Modules\Tiers;
use Elementor\Utils;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Module extends \Elementor\Core\Base\Module {
public function get_name() {
return 'tiers';
}
/**
* @param array $texts
* @return string
*/
public static function get_promotion_template( $texts, $is_marionette_template = false ) {
ob_start();
if ( $is_marionette_template ) {
?>
<script type="text/template" id="tmpl-elementor-promotion">
<?php
}
?>
<div class="elementor-nerd-box">
<img class="elementor-nerd-box-icon" src="<?php echo esc_url( ELEMENTOR_ASSETS_URL . 'images/go-pro.svg' ); ?>" loading="lazy" />
<div class="elementor-nerd-box-title"><?php Utils::print_unescaped_internal_string( $texts['title'] ); ?></div>
<?php foreach ( $texts['messages'] as $message ) : ?>
<div class="elementor-nerd-box-message"><?php Utils::print_unescaped_internal_string( $message ); ?></div>
<?php endforeach; ?>
<?php if ( ! empty( $texts['link'] ) ) : ?>
<a class="elementor-button go-pro" href="<?php echo esc_url( ( $texts['link'] ) ); ?>" target="_blank">
<?php echo esc_html__( 'Upgrade Now', 'elementor-pro' ); ?>
</a>
<?php endif; ?>
</div>
<?php
if ( $is_marionette_template ) {
?>
</script>
<?php
}
return ob_get_clean();
}
}