add_cap works, but remove_cap does not
-
Hello,
I really love this plugin, I have been using it for more than 2 years now, but there is an issue I cannot really solve.
I would like to add capabilities to users on a non-role basis. On the other hand adding capabilities manually to each and every user would be a very slow process.
So my question is:
Which action should I be using for add_action calls to make both the add_cap and the remove_cap function work properly.
I have been testing the
add_action('ure_process_user_request', 'my_function', 10);
call, but if I am using this, the add_cap works properly, but the remove_cap doesn’t get properly executed.What do you propose to use to solve this problem?
Thank you in advance.Ps. Keep up the great work with this plugin!
- The topic ‘add_cap works, but remove_cap does not’ is closed to new replies.