Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save champsupertramp/bdd26acff2f2c91252e9fb3c5ce4245a to your computer and use it in GitHub Desktop.
Save champsupertramp/bdd26acff2f2c91252e9fb3c5ce4245a to your computer and use it in GitHub Desktop.
Fix Ultimate Member compatibility issue with Eduma Theme
<?php
add_action("init","um_custom_remove_conflicting_actions", 999999 );
function um_custom_remove_conflicting_actions(){
remove_action( 'signup_header', 'thim_multisite_signup_redirect' );
remove_action( 'user_register', 'thim_register_extra_fields', 1000 );
remove_action( 'register_post', 'thim_check_extra_register_fields', 10 );
remove_action( 'register_post', 'thim_register_failed', 99 );
}
?>
@tecladista147
Copy link

Oh Man! Thank you! Its solve my big problem!

I jut add the code on "functions.php" and work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment