function swpsmtp_admin_notice() { if (!swpsmtp_credentials_configured()) { $settings_url = admin_url() . 'options-general.php?page=swpsmtp_settings'; ?> <div class="error"> <p><?php printf(__('Please configure your SMTP credentials in the <a href="%s">settings menu</a> in order to send email using Easy WP SMTP plugin.', 'easy-wp-smtp'), esc_url($settings_url)); ?> </p> </div> <?php } }
function swpsmtp_admin_notice() { if (!swpsmtp_credentials_configured()) { ?> <div class="error"> <p><?php _e('Please configure your SMTP credentials in the settings in order to send email using Easy WP SMTP plugin.', 'easy-wp-smtp'); ?> </p> </div> <?php } }