What Is The Use Of map_meta_cap Filter?
This filter allows you to extend the map_meta_cap() function. This function is called by WP_User->has_cap() to convert a meta capability to one or more primitive capabilities. For example, you want to know whether the current user should be allowed to edit the current post, the edit_post meta capability. This depends on some factors: is the … Read more