title = __('Elementor Form', 'notificationx'); $this->module_title = __('Elementor', 'notificationx'); $this->popup = [ "denyButtonText" => __("More Info", "notificationx"), "confirmButtonText" => __("Upgrade to PRO", "notificationx"), // phpcs:ignore WordPress.WP.I18n.NoHtmlWrappedStrings -- Reviewed for the NotificationX codebase: acceptable in this context. "html"=> __(' Elementor forms that can help you keep important leads and stay in touch with your customers. ', 'notificationx') ]; } public function source_error_message($messages) { if (!$this->class_exists()) { $url = "https://elementor.com/"; $messages[$this->id] = [ 'message' => sprintf( '%s %s %s', __( 'You have to install', 'notificationx' ), $url, __( 'Elementor Pro', 'notificationx' ), __( 'plugin first.', 'notificationx' ) ), 'html' => true, 'type' => 'error', 'rules' => Rules::is('source', $this->id), ]; } return $messages; } public function doc(){ // translators: links return sprintf(__('
Make sure that you have Elementor Pro installed & configured to use its form submission data. For further assistance, check out our step by step documentation.
Recommended Blog:
🔥 Hacks to Increase Your WordPress Contact Forms Submission Rate Using NotificationX
', 'notificationx'), 'https://elementor.com/', 'https://notificationx.com/docs/elementor-form-with-notificationx/', 'https://notificationx.com/blog/wordpress-contact-forms/' ); } }