esc_html__( 'Send a Test Email', 'wp-mail-smtp' ), 'url' => $test_email_url, ]; } else { $cta = [ 'label' => esc_html__( 'Setup Primary Connection', 'wp-mail-smtp' ), 'url' => $connect_url, ]; } echo wp_mail_smtp_render( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- wp_mail_smtp_render() returns escaped HTML. 'dashboard/widget-overlay', [ 'title' => esc_html__( 'No Emails Sent Yet', 'wp-mail-smtp' ), 'text' => esc_html__( 'Once your site starts sending emails, your stats will show up here. Send a test email to make sure everything works.', 'wp-mail-smtp' ), 'cta' => $cta, 'teaser' => wp_mail_smtp_render( 'dashboard/teasers/chart', [], true ), ], true ); ?>