Element::is_non_input()

Checks whether the element does not expect any input.

Description

See also

Return

(bool) True if the element does not expect any input, false otherwise.

Source

File: src/db-objects/elements/element.php

	public function is_non_input() {
		$element_type = $this->get_element_type();
		if ( ! $element_type ) {
			return false;
		}

		return is_a( $element_type, Non_Input_Element_Type_Interface::class );
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.