Noptin_Form::__isset( string $key )
Magic method for checking the existence of a certain custom field.
Parameters Parameters
- $key
(string) (Required) The key to check for.
Return Return
(bool) Whether the given form field is set.
Source Source
File: includes/class-noptin-form.php
public function __isset( $key ) { if ( 'id' === strtolower( $key ) ) { return null !== $this->id; } return isset( $this->data[ $key ] ) && null !== $this->data[ $key ]; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.5 | Introduced. |