WP_User_Query::__unset()
Makes private properties un-settable for backward compatibility.
Method of the class: WP_User_Query{}
No Hooks.
Return
null
. Nothing.
Usage
$WP_User_Query = new WP_User_Query(); $WP_User_Query->__unset( $name );
- $name(string) (required)
- Property to unset.
Changelog
Since 4.0.0 | Introduced. |
WP_User_Query::__unset() WP User Query:: unset code WP 6.1.1
public function __unset( $name ) { if ( in_array( $name, $this->compat_fields, true ) ) { unset( $this->$name ); } }