noptin_create_optin_form( $data = false )

Creates an optin form.


Source Source

File: includes/functions.php

function noptin_create_optin_form( $data = false ) {
	$form    = new Noptin_Form( $data );
	$created = $form->save();

	if ( is_wp_error( $created ) ) {
		return $created;
	}

	return $form->id;
}


Top ↑

Changelog Changelog

Changelog
VersionDescription
1.0.5Introduced.

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