Tribe__Events__Pro__Integrations__Beaver_Builder__Page_Builder::hook()

Sets up fixes required for improved compatibility with Page Builder.

Move toward allowing loading of admin scripts on front end when BB editor is active.


Source #

File: src/Tribe/Integrations/Beaver_Builder/Page_Builder.php

	public function hook() {
		add_action(
			'wp_enqueue_scripts',
			function() {
				if ( FLBuilderModel::is_builder_active() ) {
					add_filter( 'tribe_allow_widget_on_post_page_edit_screen', '__return_true' );
				}
			}
		);
	}

Top ↑

Changelog #

Changelog
Version Description
5.14.2 Introduced.