get_default_noptin_options()

Retrieves all default noptin options


Return Return

(array) options


Top ↑

Source Source

File: includes/functions.php

function get_default_noptin_options() {

	$options = array(
		'notify_admin'          => false,
		'double_optin'          => false,
		'from_email'            => noptin()->mailer->default_from_address(),
		'reply_to'              => get_option( 'admin_email' ),
		'from_name'             => get_option( 'blogname' ),
		'company'               => get_option( 'blogname' ),
		'comment_form'          => false,
		'comment_form_msg'      => __( 'Subscribe To Our Newsletter', 'newsletter-optin-box' ),
		'register_form'         => false,
		'register_form_msg'     => __( 'Subscribe To Our Newsletter', 'newsletter-optin-box' ),
		'hide_from_subscribers' => false,
		'success_message'       => __( 'Thanks for subscribing to our newsletter', 'newsletter-optin-box' ),
		'email_template'        => 'plain',
	);
	return $options;

}


Top ↑

Changelog Changelog

Changelog
VersionDescription
1.0.6Introduced.

Top ↑

User Contributed Notes User Contributed Notes

30 day money back guarantee
Safe & Secure online payment
Custom CSS Slide Example
Custom Animation Example
Default Animation