# elementor/3.14.0-beta4/modules/promotions/admin-menu-items/popups-promotion-item.php

Elementor Website Builder – more than just a page builder, version 3.14.0-beta4. 39 lines.

- Page: https://pluginprobe.com/plugins/elementor/3.14.0-beta4/code/modules/promotions/admin-menu-items/popups-promotion-item.php
- Raw: https://pluginprobe.com/plugins/elementor/3.14.0-beta4/raw/modules/promotions/admin-menu-items/popups-promotion-item.php
- Modified: 2023-04-23T11:22:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/elementor/3.14.0-beta4/code/modules/promotions/admin-menu-items/popups-promotion-item.php#L10-L20`.

```php
<?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__(
			'The Popup Builder lets you take advantage of all the amazing features in Elementor, so you can build beautiful & highly converting popups. Get Elementor Pro and start designing your popups today.',
			'elementor'
		);
	}

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

```
