title = __('Envato', 'notificationx'); $this->module_title = __('Envato', 'notificationx'); $this->popup = [ "denyButtonText" => __("More Info", "notificationx"), "confirmButtonText" => __("Upgrade to PRO", "notificationx"), "html"=> __(' A resourceful online marketplace for digital assets and services. ', 'notificationx') ]; } /** * Get data for Envato Extension. * * @param array $args Settings arguments. * @return array */ public function get_data( $args = array() ){ return 'Hello From Custom Notification'; } public function doc(){ /* translators: %1$s: created & signed in to Envato account link URL, %2$s: documentation link URL, %3$s: Watch video tutorial link URL, %4$s: Integration with Envato link URL */ return sprintf(__('
Make sure that you have created & signed in to Envato account to use its campaign & product sales data. For further assistance, check out our step by step documentation.
🎦 Watch video tutorial to learn quickly
👉 NotificationX Integration with Envato
', 'notificationx'), 'https://account.envato.com/sign_in?to=envato-api', 'https://notificationx.com/docs/envato-sales-notification/', 'https://youtu.be/-df_6KHgr7I', 'https://notificationx.com/integrations/envato/' ); } }