single.html
WordPress core a2z
WordPress core only
Home
Blocks
Plugins
Themes
Sitemap
Blog
Block news
About
Home
»
Hooks
»
body_class – filter
body_class – filter
Hook name
:
body_class
Hook type
:
filter
Plugin ref
:
WordPress
Sourcefile
:
File ref
:
body_class() – Displays the class names for the body element.
Description
:
Parameters
:
Deprecated?
:
No
API Letters
:
B
,
C
Invokers
1 to 1 of 1
get_body_class() – Retrieves an array of the class names for the body element.
Implementers
Published:
25th November 2019
Last updated:
9th August 2023
Information
Hook name
:
body_class
Hook type
:
filter
Plugin ref
:
WordPress
Sourcefile
:
File ref
:
body_class() – Displays the class names for the body element.
Description
:
Parameters
:
Deprecated?
:
No
API Letters
:
B
,
C
Search
Search