get_body_class


get_body_class ( $class = '' )

Parameters:
  • (string|string[]) $class Space-separated string or array of class names to add to the class list.
Returns:
  • (string[]) Array of class names.
Defined at:

Description

Retrieves an array of the class names for the body element.

Related Functions

body_class, get_post_class, get_comment_class, wp_widgets_access_body_class, get_boundary_post

Top Google Results

User discussions

wpseek mobile