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