Scripts::disable_jquery_body( bool $enabled )

Disable Divi jQuery Body on Single Events.


Parameters

$enabled

(bool) (Required) Whether to disable the jQuery body.


Top ↑

Return

(bool) Whether to disable the jQuery body.


Top ↑

Source

File: src/Tribe/Compatibility/Divi/Scripts.php

	public function disable_jquery_body( $enabled ) {
		if ( ! is_singular( \Tribe__Events__Main::POSTTYPE ) ) {
			return $enabled;
		}

		return false;
	}

Top ↑

Changelog

Changelog
Version Description
5.3.1 Introduced.