BuddyPress::__unset( string $key )
Magic method for unsetting BuddyPress variables.
Description Description
Parameters Parameters
- $key
-
(Required) Key to unset a value for.
Source Source
File: class-buddypress.php
public function __unset( $key ) { if ( isset( $this->data[$key] ) ) unset( $this->data[$key] ); }
Changelog Changelog
Version | Description |
---|---|
1.7.0 | Introduced. |