Make private properties checkable for backward compatibility.
(string) (Required) Property to check if set.
(bool) Whether the property is set.
File: wp-includes/class-wp-query.php
public function __isset( $name ) { if ( in_array( $name, $this->compat_fields, true ) ) { return isset( $this->$name ); } }
Version | Description |
---|---|
4.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_query/__isset