Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
A function to remove the DetectLogin middleware from Event Espresso, this allows all of EE's logic to run on those requests.
<?php //Please do not include the opening PHP tag if your already have one.
add_filter('FHEE__EventEspresso_core_services_bootstrap_BootstrapCore__buildRequestStack__stack_apps','tw_ee_remove_DetectLogin_middleware', 10, 1);
function tw_ee_remove_DetectLogin_middleware($stack_apps) {
return $stack_apps;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment