| 1 |
<?php |
| 2 |
|
| 3 |
namespace Elementor\Modules\Promotions\AdminMenuItems; |
| 4 |
|
| 5 |
use Elementor\Modules\Promotions\AdminMenuItems\Base_Promotion_Template; |
| 6 |
|
| 7 |
if ( ! defined( 'ABSPATH' ) ) { |
| 8 |
exit; // Exit if accessed directly |
| 9 |
} |
| 10 |
|
| 11 |
class Form_Submissions_Promotion_Item extends Base_Promotion_Template { |
| 12 |
|
| 13 |
public function get_label() { |
| 14 |
return esc_html__( 'Submissions', 'elementor' ); |
| 15 |
} |
| 16 |
|
| 17 |
public function get_page_title() { |
| 18 |
return esc_html__( 'Submissions', 'elementor' ); |
| 19 |
} |
| 20 |
|
| 21 |
public function get_promotion_title() { |
| 22 |
/* translators: %s: br */ |
| 23 |
echo sprintf( |
| 24 |
esc_html( 'Create Forms and Collect Leads %s with Elementor Pro', 'elementor' ), |
| 25 |
'<br />' |
| 26 |
); |
| 27 |
} |
| 28 |
|
| 29 |
public function set_list() { |
| 30 |
return [ |
| 31 |
esc_html__( 'Create single or multi-step forms to engage and convert visitors', 'elementor' ), |
| 32 |
esc_html__( 'Use any field to collect the information you need', 'elementor' ), |
| 33 |
esc_html__( 'Integrate your favorite marketing software*', 'elementor' ), |
| 34 |
esc_html__( 'Collect lead submissions directly within your WordPress Admin to manage, analyze and perform bulk actions on the submitted lead*', 'elementor' ), |
| 35 |
]; |
| 36 |
} |
| 37 |
|
| 38 |
public function get_cta_url() { |
| 39 |
return 'https://go.elementor.com/go-pro-submissions/'; |
| 40 |
} |
| 41 |
|
| 42 |
public function get_video_url() { |
| 43 |
return 'https://www.youtube-nocookie.com/embed/LNfnwba9C-8?si=JLHk3UAexnvTfU1a'; |
| 44 |
} |
| 45 |
|
| 46 |
public function get_side_note() { |
| 47 |
return esc_html__( '* Requires an Advanced subscription or higher', 'elementor' ); |
| 48 |
} |
| 49 |
} |
| 50 |
|