Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
The Events Calendar Community Events redirect to custom login form
<?php
/*
* The Events Calendar Community Events redirect to custom login form
*/
add_action ( 'tribe_ce_event_submission_login_form', 'tribe_ce_redirect_login' );
function tribe_ce_redirect_login ( ) {
wp_safe_redirect( site_url('/login/') );
exit;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment