Noptin_Hooks::add_rewrite_rule()

Add our noptin page rewrite tag and rule.


Source Source

File: includes/class-noptin-hooks.php

	public function add_rewrite_rule() {

		add_rewrite_endpoint( 'noptin_newsletter', EP_ALL );

		if ( ! get_option( 'noptin_flushed_rules2' ) ) {
			flush_rewrite_rules();
			add_option( 'noptin_flushed_rules2', 1 );
		}

	}

Top ↑

Changelog Changelog

Changelog
VersionDescription
1.2.9Introduced.

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