File "popups-promotion-item.php"

Full Path: /home/warrior1/public_html/languages/wp-content/plugins/elementor/modules/promotions/admin-menu-items/popups-promotion-item.php
File size: 964 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Elementor\Modules\Promotions\AdminMenuItems;

use Elementor\TemplateLibrary\Source_Local;

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

class Popups_Promotion_Item extends Base_Promotion_Item {
	public function get_parent_slug() {
		return Source_Local::ADMIN_MENU_SLUG;
	}

	public function get_label() {
		return esc_html__( 'Popups', 'elementor' );
	}

	public function get_page_title() {
		return esc_html__( 'Popups', 'elementor' );
	}

	public function get_promotion_title() {
		return esc_html__( 'Get Popup Builder', 'elementor' );
	}

	public function render_promotion_description() {
		echo esc_html__(
			'Popup Builder lets you take advantage of all the amazing features in Elementor, so you can build beautiful & highly converting popups. Go pro and start designing your popups today.',
			'elementor'
		);
	}

	public function get_cta_url() {
		return 'https://go.elementor.com/go-pro-popup-builder/';
	}
}