| 1 |
<?php |
| 2 |
|
| 3 |
namespace Elementor\Modules\Promotions\AdminMenuItems; |
| 4 |
|
| 5 |
use Elementor\TemplateLibrary\Source_Local; |
| 6 |
|
| 7 |
if ( ! defined( 'ABSPATH' ) ) { |
| 8 |
exit; // Exit if accessed directly |
| 9 |
} |
| 10 |
|
| 11 |
class Popups_Promotion_Item extends Base_Promotion_Item { |
| 12 |
public function get_parent_slug() { |
| 13 |
return Source_Local::ADMIN_MENU_SLUG; |
| 14 |
} |
| 15 |
|
| 16 |
public function get_label() { |
| 17 |
return esc_html__( 'Popups', 'elementor' ); |
| 18 |
} |
| 19 |
|
| 20 |
public function get_page_title() { |
| 21 |
return esc_html__( 'Popups', 'elementor' ); |
| 22 |
} |
| 23 |
|
| 24 |
public function get_promotion_title() { |
| 25 |
return esc_html__( 'Get Popup Builder', 'elementor' ); |
| 26 |
} |
| 27 |
|
| 28 |
public function render_promotion_description() { |
| 29 |
echo esc_html__( |
| 30 |
'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.', |
| 31 |
'elementor' |
| 32 |
); |
| 33 |
} |
| 34 |
|
| 35 |
public function get_cta_url() { |
| 36 |
return 'https://go.elementor.com/go-pro-popup-builder/'; |
| 37 |
} |
| 38 |
} |
| 39 |
|