Hi,
Currently, the Facebook Pixel for WordPress plugin has hard-coded capabilities / role checks for determining who can manage plugin options. I propose adding a filter to make these capabilities configurable, allowing for greater flexibility in managing permissions.
For example:
add_filter('facebook_pixel_manage_options_capability', function() {
return 'edit_posts'; // Change to the desired capability
});
Relevant code:
Search results for current_user_can
Search results for is_admin