| Server IP : 177.55.116.72 / Your IP : 216.73.217.104 Web Server : Apache System : Linux UBAPCWEB27 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 User : web_hotelpraiadoc ( 3326) PHP Version : 8.2.20 Disable Function : proc_open, passthru, escapeshellcmd, exec, shell_exec, system, ini_alter, dl, popen, php_check_syntax, show_source, highlight_file, symlink, link, openlog, apache_child_terminate MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/hotelpraiadoconde.com.br/public/wp-content/plugins/pro-elements/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();
}
}