tribe_attributes()

Parse input values into a valid html attributes to be used in the templates.


Parameters #

$attributes,...

(mixed) (Required) unlimited Any amount of params to be rendered as attributes.


Top ↑

Return #

(void)


Top ↑

Source #

File: src/functions/template-tags/html.php

function tribe_attributes() {
	$element_attributes = new Element_Attributes( func_get_args() );
	echo $element_attributes->get_attributes();
}

Top ↑

Changelog #

Changelog
Version Description
4.12.3 Introduced.