Astra_Ext_Nav_Menu_Markup::body_classes( array $classes )
Add Body Classes
Description
Parameters
- $classes
-
(array) (Required) Body Class Array.
Return
(array)
Source
File: addons/nav-menu/classes/class-astra-ext-nav-menu-markup.php
public function body_classes( $classes ) {
if ( ! wp_is_mobile() ) {
$classes[] = 'ast-desktop';
}
return $classes;
}
Expand full source code Collapse full source code View on Trac