Corcel\TermTaxonomy::__get PHP Method

__get() public method

Magic method to return the meta data like the post original fields
public __get ( string $key ) : string
$key string
return string
    public function __get($key)
    {
        if (!isset($this->{$key})) {
            if (isset($this->term->{$key})) {
                return $this->term->{$key};
            }
        }
        return parent::__get($key);
    }