BP_Core_HTML_Element::get( string $prop = '' )
Returns a property from this class.
Description Description
Parameters Parameters
- $prop
-
(Optional) Property name. Either 'open_tag', 'inner_html', 'close_tag'.
Default value: ''
Return Return
(string)
Source Source
File: bp-core/classes/class-bp-core-html-element.php
public function get( $prop = '' ) { if ( ! isset( $this->{$prop} ) ) { return ''; } return $this->{$prop}; }
Changelog Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |