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 ) ) ) . '"';
	}

User Contributed Notes

You must log in before being able to contribute a note or feedback.