astra_primary_class( string|array $class = '' )
Display classes for primary div
Description
Parameters
- $class
-
(string|array) (Optional) One or more classes to add to the class list.
Default value: ''
Return
(void) Echo classes.
Source
File: inc/core/common-functions.php
function astra_primary_class( $class = '' ) { // Separates classes with a single space, collates classes for body element. echo 'class="' . esc_attr( join( ' ', astra_get_primary_class( $class ) ) ) . '"'; }
Expand full source code Collapse full source code View on Trac