Service_Provider::register()

Register the bindings and filters required to ensure compatibility Divi theme.

Contents


Source

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

	public function register() {
		$this->container->singleton( self::class, $this );
		$this->container->singleton( 'filterbar.compatibility.divi-theme', $this );

		add_filter( 'et_builder_enable_jquery_body', array( $this, 'disable_jquery_body' ), 10, 1 );
	}

Top ↑

Changelog

Changelog
Version Description
5.3.1 Introduced.