Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
This tells EE not to load any assets when using Tip builder on the site.
<?php //Please do not include the opening PHP tag if you already have one
add_filter('FHEE__EE_System__canLoadBlocks', 'tw_disable_ee_blocks_for_tipi_builder');
function tw_disable_ee_blocks_for_tipi_builder() {
if(! empty( $_REQUEST['tipi_builder'] ) ) {
return false;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.