← All changes
|
modules/promotions/admin-menu-items/editor-one-submissions-menu.php
+3
-40
4.3.0
→
3.35.0-dev2
View file →
| @@ -8,12 +8,12 @@ | ||
| 8 | 8 | if ( ! defined( 'ABSPATH' ) ) { |
| 9 | 9 | exit; |
| 10 | 10 | } |
| 11 | 11 | |
| 12 | -class Editor_One_Submissions_Menu extends Base_Promotion_Template implements Menu_Item_Third_Level_Interface { | |
| 12 | +class Editor_One_Submissions_Menu extends Form_Submissions_Promotion_Item implements Menu_Item_Third_Level_Interface { | |
| 13 | 13 | |
| 14 | 14 | public function get_position(): int { |
| 15 | - return 70; | |
| 15 | + return 50; | |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | public function get_slug(): string { |
| 19 | 19 | return 'e-form-submissions'; |
| @@ -19,9 +19,9 @@ | ||
| 19 | 19 | return 'e-form-submissions'; |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | public function get_parent_slug(): string { |
| 23 | - return Menu_Config::ELEMENTOR_HOME_MENU_SLUG; | |
| 23 | + return Menu_Config::ELEMENTOR_MENU_SLUG; | |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | public function get_label(): string { |
| 27 | 27 | return esc_html__( 'Submissions', 'elementor' ); |
| @@ -36,43 +36,6 @@ | ||
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | public function has_children(): bool { |
| 39 | 39 | return false; |
| 40 | - } | |
| 41 | - | |
| 42 | - public function get_name() { | |
| 43 | - return 'submissions'; | |
| 44 | - } | |
| 45 | - | |
| 46 | - public function get_page_title() { | |
| 47 | - return esc_html__( 'Submissions', 'elementor' ); | |
| 48 | - } | |
| 49 | - | |
| 50 | - public function get_promotion_title(): string { | |
| 51 | - return sprintf( | |
| 52 | - /* translators: %s: `<br>` tag. */ | |
| 53 | - esc_html__( 'Create Forms and Collect Leads %s with Elementor Pro', 'elementor' ), | |
| 54 | - '<br>' | |
| 55 | - ); | |
| 56 | - } | |
| 57 | - | |
| 58 | - protected function get_content_lines(): array { | |
| 59 | - return [ | |
| 60 | - esc_html__( 'Create single or multi-step forms to engage and convert visitors', 'elementor' ), | |
| 61 | - esc_html__( 'Use any field to collect the information you need', 'elementor' ), | |
| 62 | - esc_html__( 'Integrate your favorite marketing software*', 'elementor' ), | |
| 63 | - esc_html__( 'Collect lead submissions directly within your WordPress Admin to manage, analyze and perform bulk actions on the submitted lead*', 'elementor' ), | |
| 64 | - ]; | |
| 65 | - } | |
| 66 | - | |
| 67 | - protected function get_cta_url(): string { | |
| 68 | - return 'https://go.elementor.com/go-pro-submissions/'; | |
| 69 | - } | |
| 70 | - | |
| 71 | - protected function get_video_url(): string { | |
| 72 | - return 'https://www.youtube-nocookie.com/embed/LNfnwba9C-8?si=JLHk3UAexnvTfU1a'; | |
| 73 | - } | |
| 74 | - | |
| 75 | - protected function get_side_note(): string { | |
| 76 | - return esc_html__( '* Requires an Advanced subscription or higher', 'elementor' ); | |
| 77 | 40 | } |
| 78 | 41 | } |