tribe_get_attributes()
Parse input values into a valid array of attributes to be used in the templates.
Contents
Parameters
- $attributes,...
-
(mixed) (Required) unlimited Any amount of params to be rendered as attributes.
Return
(array<string>) An array of the parsed string attributes.
Source
File: src/functions/template-tags/html.php
function tribe_get_attributes() { $element_attributes = new Element_Attributes( func_get_args() ); return $element_attributes->get_attributes_array(); }
Changelog
Version | Description |
---|---|
4.12.3 | Introduced. |