title = __('LearnDash', 'notificationx'); $this->module_title = __('LearnDash', '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"=> __(' A widely used WordPress learning management system. ', 'notificationx') ]; } public function source_error_message($messages) { if (!$this->class_exists()) { $messages[$this->id] = [ 'message' => __('You have to install LearnDash plugin first.' , 'notificationx'), 'html' => true, 'type' => 'error', 'rules' => Rules::is('source', $this->id), ]; } return $messages; } public function doc(){ /* translators: %1$s: LearnDash installed & configured link URL, %2$s: documentation link URL, %3$s: Watch video tutorial link URL, %4$s: Integration with LearnDash link URL, %5$s: LearnDash Course Enrollment Rates link URL */ return sprintf(__('

Make sure that you have LearnDash installed & configured to use its campaign & course selling data. For further assistance, check out our step by step documentation.

🎦 Watch video tutorial to learn quickly

👉 NotificationX Integration with LearnDash

Recommended Blog:

🔥 How to Increase Your LearnDash Course Enrollment Rates With NotificationX

', 'notificationx'), 'https://www.learndash.com/', 'https://notificationx.com/docs/how-to-display-learndash-course-enrollment-alert-using-notificationx', 'https://www.youtube.com/watch?v=sTbBt2DVsIA', 'https://notificationx.com/integrations/learndash/', 'https://wpdeveloper.com/learndash-course-enrollment-rate-notificationx/' ); } }