tribe_classes()

Parses input values into a valid class html attribute to be used in the templates.


Parameters #

$classes,...

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


Top ↑

Return #

(string)


Top ↑

Source #

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

function tribe_classes() {
	$element_classes = new Element_Classes( func_get_args() );
	echo $element_classes->get_attribute();
}

Top ↑

Changelog #

Changelog
Version Description
4.9.13 Introduced.