Checks whether the element contains multiple fields.
Description
See also
Return
(bool) True if the element contains multiple fields, false otherwise.
Source
File: src/db-objects/elements/element.php
public function is_multifield() { $element_type = $this->get_element_type(); if ( ! $element_type ) { return false; } return is_a( $element_type, Multi_Field_Element_Type_Interface::class ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |