Noptin_Subscriber::__isset( string $key )

Magic method for checking the existence of a subscriber field.


Parameters Parameters

$key

(string) (Required) Subscriber meta key to check if set.


Top ↑

Return Return

(bool) Whether the given subscriber meta key is set.


Top ↑

Source Source

File: includes/class-noptin-subscriber.php

	public function __isset( $key ) {

		if ( isset( $this->data->$key ) ) {
			return true;
		}

		return metadata_exists( 'noptin_subscriber', $this->id, $key );
	}


Top ↑

Changelog Changelog

Changelog
VersionDescription
1.2.7Introduced.

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