• David Bee

    (@davidbawiec)


    Hi!

    Due to a conflict, I need to remove two actions that you hooked into profile updates. I’m trying to do the following:

    		remove_action( 'profile_update', array( 'WPFront_User_Role_Editor_Assign_Roles', 'edit_user_profile_update' ), 1000 );
    		remove_action( 'edit_user_created_user', array( 'WPFront_User_Role_Editor_Assign_Roles', 'edit_user_created_user' ), 1000 );

    Sadly it doesn’t work. I’ve tried wrapping both in an add_action(‘init’,…) but no luck… How can I achieve this?

    Thanks!

  • The topic ‘Can’t remove_action().’ is closed to new replies.