get_attributes_str()

public function get_attributes_str(array $attributes = []): string

The get_attributes_str() method is supported by a dedicated helper function. For guidance on how to use it, click here.