get_label(); } /** * @inheritdoc */ public function display() { $options = new Options(); $mailer = $options->get( 'mail', 'mailer' ); ?>
display_wpforms(); } /** * Display a WPForms-related message. * * @since 1.3.0 */ protected function display_wpforms() { // Do not display if WPForms Pro already installed. if ( class_exists( 'WPForms_Pro', false ) ) { return; } $is_dismissed = get_user_meta( get_current_user_id(), 'wp_mail_smtp_wpforms_dismissed', true ); // Do not display if user dismissed. if ( (bool) $is_dismissed === true ) { return; } ?>
purchasing a WPForms Pro license. Aside from getting access to the best drag & drop WordPress form builder plugin, your purchase will help us continue to maintain and add new features to the WP Mail SMTP plugin while keeping this SMTP plugin free for the larger WordPress community.', 'wp-mail-smtp' ), array( 'a' => array( 'href' => array(), 'target' => array(), 'rel' => array(), ), ) ), 'https://wpforms.com/?discount=THANKYOU&utm_source=WordPress&utm_medium=settings-cta&utm_campaign=smtpplugin' ); ?>
' ); ?>
Get WPForms Pro and support WP Mail SMTP - use coupon "thankyou" to save %2$s off your purchase.', 'wp-mail-smtp' ), array( 'a' => array( 'href' => array(), 'target' => array(), 'rel' => array(), ), 'strong' => array(), ) ), 'https://wpforms.com/?discount=THANKYOU&utm_source=WordPress&utm_medium=settings-cta&utm_campaign=smtpplugin', '20%' ); ?>