Filters the list of CSS body class names for the current post or page.
24 Hour Fitness Introduces Innovative Group Exercise Program efficient, using the resistance of one’s own body and light weights to tone and strengthen. Each exercise series flows together seamlessly and in a controlled way to keep the heart rate elevated and boredom at bay. New body class available for alternative languages Download ZIP Archive 1.1.0 / stable July 10, 2009 Fields in page properties where the class / id attribute can be defined directly More possibilities to configure this extension via TypoScript. Body Class.; 2 minutes to read; In this article. Represents a body. Syntax public ref class Body sealed: IClosable public sealed class Body: IDisposable. Defines the Body Class. When the object is serialized out as xml, its qualified name is w:body. This will give every page a body class of only 'portfolio'. The first argument is the array of generated body classes that would normally appear. The second argument is an array of classes passed into the body class function (e.g. Bodyclass('portfolio'); would make the second argument in this function array( 'portfolio' )).
(string[])An array of body class names.
(string[])An array of additional class names added to the body.
Note that the filter function must return the array of classes after it is finished processing, or all of the classes will be cleared and could seriously impact the visual state of a user’s site.
File: wp-includes/post-template.php
Used By | Description |
---|---|
wp-includes/post-template.php:get_body_class() | Retrieves an array of the class names for the body element. |