get_body_class


get_body_class ( $class = '' )

Parameters:
  • (string|array) $class One or more classes to add to the class list.
Returns:
  • (array) Array of classes.
Defined at:

Description

Retrieve the classes for the body element as an array.

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