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.
Return Return
(bool) Whether the given subscriber meta key is set.
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 ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.2.7 | Introduced. |