bbp_exclude_forum_ids

  • apply_filters( 'bbp_exclude_forum_ids', $retval, $forum_ids, $type )

    Source Reference:

    • Component: bbPress :: bbp-forum
      File: /bbp-includes/bbp-forum-functions.php :: Trac Source Line: 904
      						'value'   => implode( ',', $forum_ids ),
      						'compare' => ( 1 < count( $forum_ids ) ) ? 'NOT IN' : '!='
      					);
      					break;
      			}
      		}
      	}
      
      	// Filter and return the results
      	return apply_filters( 'bbp_exclude_forum_ids', $retval, $forum_ids, $type );
      }
      
      /**
       * Adjusts topic and reply queries to exclude items that might be contained
       * inside hidden or private forums that the user does not have the capability
       * to view.
       *
       * @since bbPress (r3291)
       *
       * @param WP_Query $posts_query
      

Comments are closed.