Reply To: Function checking access

Author
Reply
  • #2547

    Yes, and for correct work plugin I use the following construction [b]function_exists [‘is_bbpress’] && bbp_is_single_forum [][/b] and that is works only in site section where the forum is

    anyway this working for me correctly

    if ( ! is_current_user_skip_protect( $user_id ) ) {
    get_template_part( ‘templates/secondary/secondary’, ‘bbp’ );
    }