Noptin_Subscriber::clear_cache()

Removes the subscriber from the cache.


Source Source

File: includes/class-noptin-subscriber.php

	public function clear_cache() {
		wp_cache_delete( $this->email, 'noptin_subscriber_emails' );
		wp_cache_delete( $this->confirm_key, 'noptin_subscriber_keys' );
		wp_cache_delete( $this->id, 'noptin_subscribers' );
	}

Top ↑

Changelog Changelog

Changelog
VersionDescription
1.2.8Introduced.

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