SeedProd provides a set of WordPress filters that let you control which user roles and capabilities can access different areas of the SeedProd interface. Use these filters in your theme’s functions.php file or a custom plugin to restrict or expand access as needed.
Available Permission Filters
Menu and Interface Access
These filters control which capability is required to access each section of the SeedProd menu. All default to edit_others_posts.
seedprod_main_menu_capabilityseedprod_dashboard_menu_capabilityseedprod_subscribers_menu_capabilityseedprod_growthtools_menu_capabilityseedprod_settings_menu_capabilityseedprod_templates_menu_capabilityseedprod_builder_menu_capability
Page Management Actions
These filters control which capability is required to perform page management actions. All default to list_users.
seedprod_delete_subscriber_capabilityseedprod_unarchive_pages_capabilityseedprod_archive_pages_capabilityseedprod_trash_pages_capability
Plugin Management Actions
These filters control which capability is required for plugin-related actions within SeedProd.
seedprod_install_plugins_capability— defaults toinstall_pluginsseedprod_update_plugins_capability— defaults toupdate_pluginsseedprod_activate_plugins_capability— defaults toactivate_plugins
Usage Example
To change the capability required to access the SeedProd builder to manage_options (Administrator only), add the following to your theme’s functions.php file:
add_filter( 'seedprod_builder_menu_capability', function() {
return 'manage_options';
} );
Apply the same pattern to any of the filters listed above, substituting the filter name and the WordPress capability you want to require. For a full list of WordPress capabilities, see the WordPress Roles and Capabilities documentation.