Magic getter.
Description
Parameters
- $property
-
(string) (Required) Property to get.
Return
(mixed) Property value, or null if property is not set.
Source
File: src/db-objects/form-categories/form-category.php
public function __get( $property ) { switch ( $property ) { case 'id': return $this->original->term_id; case 'title': return $this->original->name; } return parent::__get( $property ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |