get_body_class
get_body_class ( $css_class = '' )
Parameters:- (string|string[]) css_class Optional. Space-separated string or array of class names to add to the class list. Default empty.
Returns:- (string[]) Array of class names.
Defined at: - Introduced in WordPress: 2.8.0
- Deprecated in WordPress: —
Description
Retrieves an array of the class names for the body element.