$this->get_links(), 'view_all' => [ 'label' => esc_html__( 'View All Documentation', 'wp-mail-smtp' ), 'url' => wp_mail_smtp()->get_utm_url( 'https://wpmailsmtp.com/docs/', [ 'medium' => 'dashboard', 'content' => 'View All Documentation', ] ), ], ], true ); } /** * Documentation links for new users. * * @since 4.10.0 * * @return array */ protected function get_links(): array { return [ [ 'label' => esc_html__( 'Setting Up Your Mailer (Complete Guide)', 'wp-mail-smtp' ), 'url' => wp_mail_smtp()->get_utm_url( 'https://wpmailsmtp.com/docs/a-complete-guide-to-wp-mail-smtp-mailers/', [ 'medium' => 'dashboard', 'content' => 'Setting Up Your Mailer (Complete Guide)', ] ), ], [ 'label' => esc_html__( 'Sending a Test Email', 'wp-mail-smtp' ), 'url' => wp_mail_smtp()->get_utm_url( 'https://wpmailsmtp.com/docs/how-to-send-a-test-email-in-wp-mail-smtp/', [ 'medium' => 'dashboard', 'content' => 'Sending a Test Email', ] ), ], [ 'label' => esc_html__( 'Enabling Email Logging', 'wp-mail-smtp' ), 'url' => wp_mail_smtp()->get_utm_url( 'https://wpmailsmtp.com/docs/how-to-set-up-email-logging/', [ 'medium' => 'dashboard', 'content' => 'Enabling Email Logging', ] ), ], [ 'label' => esc_html__( 'Understanding Email Reports', 'wp-mail-smtp' ), 'url' => wp_mail_smtp()->get_utm_url( 'https://wpmailsmtp.com/docs/how-to-use-email-reports-in-wp-mail-smtp/', [ 'medium' => 'dashboard', 'content' => 'Understanding Email Reports', ] ), ], [ 'label' => esc_html__( 'Using WP Mail SMTP with AI Assistants', 'wp-mail-smtp' ), 'url' => wp_mail_smtp()->get_utm_url( 'https://wpmailsmtp.com/docs/using-wpmailsmtp-with-ai-assistants/', [ 'medium' => 'dashboard', 'content' => 'Using WP Mail SMTP with AI Assistants', ] ), ], ]; } }