tribe_get_classes()

Parse input values into a valid array of classes to be used in the templates.


Parameters #

$classes,...

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


Top ↑

Return #

(array)


Top ↑

Source #

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

function tribe_get_classes() {
	$element_classes = new Element_Classes( func_get_args() );
	return $element_classes->get_classes();
}

Top ↑

Changelog #

Changelog
Version Description
4.9.13 Introduced.