add_cssclass

Advertisement

Syntax Syntax

add_cssclass( string $add, string $class )

Parameters Parameters

$add

(Required)

$class

(Required)

Return Return

(string)

Source Source

File: wp-admin/includes/menu.php

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

Advertisement

Advertisement

Leave a Reply