Returns the element type object for this element.
Description
See also
Return
(awsmug\Torro_Forms\DB_Objects\Elements\Element_Types\Element_Type) Element type object.
Source
File: src/db-objects/elements/element.php
public function get_element_type() { if ( empty( $this->type ) ) { return null; } $type = $this->manager->types()->get( $this->type ); if ( is_wp_error( $type ) ) { return null; } return $type; }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |