Created
March 8, 2017 06:11
-
-
Save champsupertramp/bdd26acff2f2c91252e9fb3c5ce4245a to your computer and use it in GitHub Desktop.
Fix Ultimate Member compatibility issue with Eduma Theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 ); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh Man! Thank you! Its solve my big problem!
I jut add the code on "functions.php" and work.