• Hello, I just saw that editors have a business profile menu item in their WP admin, and when they click that, they get ‘You do not have permission to view this page.’ Should they have access to the BP settings?

    If not, is it possible to give editors access, so they can change their opening hours? I tried the code snippet below (modified from a snippet I have for the reservations plugin), but that doesn’t work.

    Thanks

    if ( ! defined( 'ABSPATH' ) )
    exit;
    if ( !function_exists( 'aebpfwp_allow_editor_access' ) ) {
    add_filter( 'rtb_settings_page', 'aebpfwp_allow_editor_access' );
    function aebpfwp_allow_editor_access( $sap ) {
    $sap->pages['bpfwp-settings']->capability = 'edit_pages';
    return $sap;
    }
    } endif;

You must be logged in to reply to this topic.