bbp_forum_query_topic_ids

  • apply_filters( 'bbp_forum_query_topic_ids', $topic_ids, $forum_id )

    Source Reference:

    • Component: bbPress :: bbp-forum
      File: /bbp-includes/bbp-forum-functions.php :: Trac Source Line: 985
       * @param int $forum_id Forum id
       * @uses bbp_get_topic_post_type() To get the topic post type
       * @uses bbp_get_public_child_ids() To get the topic ids
       * @uses apply_filters() Calls 'bbp_forum_query_topic_ids' with the topic ids
       *                        and forum id
       */
      function bbp_forum_query_topic_ids( $forum_id ) {
         	$topic_ids = bbp_get_public_child_ids( $forum_id, bbp_get_topic_post_type() );
      
      	return apply_filters( 'bbp_forum_query_topic_ids', $topic_ids, $forum_id );
      }
      
      /**
       * Returns the forum's subforum ids
       *
       * Only forums with published status are returned
       *
       * @since bbPress (r2908)
       *
       * @param int $forum_id Forum id
      

Comments are closed.