add_cssclass( string $add, string $class )


Description Description


Parameters Parameters

$add

(string) (Required)

$class

(string) (Required)


Top ↑

Return Return

(string)


Top ↑

Source Source

File: wp-admin/includes/menu.php

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


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.