I'm having some issues regarding a user's capability on a multisite. So, I have a network of sites and on each site I want a role (Local Admin) to be able to create users.
I've added the capabilities to that role and added a user to that role. When I log in as the user and dump their the returned data from
get_userdata function I see the correct role and
create_users is set to true. However when I use
current_user_can( 'create_users', wp_get_current_user() ) I get false.
What am I missing? Are there any specific capabilities I need to add because I'm using multisite? Any help appreciated!