Scripts::disable_jquery_body( bool $enabled )
Disable Divi jQuery Body on Single Events.
Contents
Parameters
- $enabled
-
(bool) (Required) Whether to disable the jQuery body.
Return
(bool) Whether to disable the jQuery body.
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; }
Changelog
Version | Description |
---|---|
5.3.1 | Introduced. |