BuddyPress::__unset( string $key )
Magic method for unsetting BuddyPress variables.
Description
Parameters
- $key
-
(Required) Key to unset a value for.
Source
File: class-buddypress.php
public function __unset( $key ) { if ( isset( $this->data[$key] ) ) unset( $this->data[$key] ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.7.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.