Viewing 1 replies (of 1 total)
  • Thread Starter jono_39

    (@jono_39)

    I’ve tested this code on my staging server placed in the theme’s functions.php folder. This fixes the issue. Any possibility of you updating the plugin so I’m not tied to any particular themes ?

    function hubbli_bp_docs_show_cpt_ui( $show_ui ) {
      $user = wp_get_current_user();
      if ( $user->has_cap( 'manage_options' ) ) {
        return true;
      }
      return $show_ui;
    }
    add_filter( 'bp_docs_show_cpt_ui', 'hubbli_bp_docs_show_cpt_ui', 999, 1 );
Viewing 1 replies (of 1 total)
  • The topic ‘Multi site Admin Menu’ is closed to new replies.