I want to remove the WP Show Posts menu item from the left-hand menu in the WP dashboard for certain user roles only, such as Editor. How can I do that? I tried the User Role Editor plugin, but the WPSP post permissions are mixed in with other CPTs post permissions (such as Strong Testimonials and GP Elements and Elementor Templates) and so I need another work-around to just remove WPSP for Editors from the menu altogether. Thanks in advance.
That did work. And how can I modify it to also exclude the (Elementor) Templates menu item from the left Dashboard menu? Basically I need to exclude both WPSP and Templates from the menu as both affect the design of the site which Editors shouldn’t be messing with.