A WordPress-centric search engine for devs and theme authors



add_cssclass ›

Sincen/a
Deprecatedn/a
add_cssclass ( $add, $class )
Parameters: (2)
  • (string) $add
    Required: Yes
  • (string) $class
    Required: Yes
Returns:
  • (string)
Defined at:
Codex:

No description yet.



Source

function add_cssclass( $add, $class ) {
	$class = empty( $class ) ? $add : $class .= ' ' . $add;
	return $class;
}