Grant Access to BeBuilder Visibility for Custom Roles
Hello,
I have a site which has a specific WP role created (using the PublishPress Capabilities plugin) for an SEO consultant.
This is required to ensure certain aspects of the admin area (such as customer enquiry details) are not exposed to third parties.
The SEO consultant does, though, need the ability to modify page content through BeBuilder.
The current options of visibility choices are limited to the defaults:
Checking through the code, there does not appear to be a developer filter I can use to modify this to be a custom capability or add further roles.
Can you advise how I can grant further users with a specific role or capability access?
I was hoping mfn_opts_get had a filter within it that could come in useful in scenarios like this.
For a more robust solution, perhaps changing the dropdown to be a multi-select and use the roles in the global $wp_roles variable.
Thanks
Comments
Hi,
We will get familiar with this plugin, and we will propose a solution for that in a couple of days.
Best regards
Hi,
In the newest update 28.1.8, which will be available today, we are adding the filter ‘mfn_bebuilder_roles’. With its help, you will be able to add your own roles that will gain access to BeBuilder.
Example code for use in a Child Theme:
Thanks - rather than role, could you perhaps work with capabilities?
It will then allow any role to have a capability added to it such as mfn_builder_access