WP_Rocket::hook()

Hooks all the required methods for WP_Rocket usage on our code.


Source #

File: src/Tribe/Integrations/WP_Rocket.php

	public function hook() {
		if ( ! tribe_events_views_v2_is_enabled() ) {
			return;
		}
		add_filter( 'rocket_excluded_inline_js_content', [ $this, 'filter_excluded_inline_js_concat' ] );
	}

Top ↑

Changelog #

Changelog
Version Description
5.0.0.2 Introduced.