Hooks::filter_body_class( array $classes )
Filters the body classes to add theme compatibility ones.
Contents
Parameters
- $classes
-
(array) (Required) Classes that are been passed to the body.
Return
(array) $classes
Source
File: src/Tribe/Views/V2/Hooks.php
public function filter_body_class( $classes ) {
return $this->container->make( Theme_Compatibility::class )->filter_add_body_classes( $classes );
}
Changelog
| Version | Description |
|---|---|
| 4.9.3 | Introduced. |