Hooks::body_class_should_add_to_queue( boolean $add, array $class, string $queue )

Contains hooks to the logic for if this object’s classes should be added to the queue.


Parameters #

$add

(boolean) (Required) Whether to add the class to the queue or not.

$class

(array) (Required) The array of body class names to add.

$queue

(string) (Required) The queue we want to get 'admin', 'display', 'all'.


Top ↑

Return #

(boolean)


Top ↑

Source #

File: src/Tribe/Views/V2/Hooks.php

	public function body_class_should_add_to_queue( $add, $class, $queue ) {
		$add = $this->container->make( Template_Bootstrap::class )->should_add_body_class_to_queue( $add, $class, $queue );
		$add = $this->container->make( Theme_Compatibility::class )->should_add_body_class_to_queue( $add, $class, $queue );

		return $add;
	}

Top ↑

Changelog #

Changelog
Version Description
TBD Introduced.