Tribe__Field::has_field_value()
Whether the current field has a value.
Return
(bool)
Source
File: src/Tribe/Field.php
public function has_field_value() {
// Certain "field" types have no value.
if ( in_array( $this->type, [ 'heading', 'html', 'wrapped_html' ], true ) ) {
return false;
}
// If the value is empty, return false.
if ( empty( $this->value ) ) {
return false;
}
return true;
}