New user role cannot access dashboard?
-
I’ve created a new role in this plugin, and it’s specifically for a custom post type.
function editing_wpcargo_shipment_capability($args, $post_type){ if ('wpcargo_shipment' === $post_type) { $args['map_meta_cap'] = true; $args['capability_type'] = 'wpcargo_shipment'; } return $args; }
But despite having the read permission set to granted. Users with this role still cannot access the admin area. Help please? I’m tearing my hair out.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘New user role cannot access dashboard?’ is closed to new replies.