Tribe__Field::do_field_attributes()
Return a string of attributes for the field
Return
(string)
Source
File: src/Tribe/Field.php
public function do_field_attributes() {
$return = '';
if ( ! empty( $this->attributes ) ) {
foreach ( $this->attributes as $key => $value ) {
$return .= ' ' . $key . '="' . $value . '"';
}
}
return apply_filters( 'tribe_field_attributes', $return, $this->name, $this );
}