bbp_get_forum

  • apply_filters( 'bbp_get_forum', $forum, $output, $filter )

    Source Reference:

    • Component: bbPress :: bbp-forum
      File: /bbp-includes/bbp-forum-template.php :: Trac Source Line: 231
      		$_forum = get_object_vars( $forum );
      		return $_forum;
      
      	} elseif ( $output == ARRAY_N ) {
      		$_forum = array_values( get_object_vars( $forum ) );
      		return $_forum;
      
      	}
      
      	return apply_filters( 'bbp_get_forum', $forum, $output, $filter );
      }
      
      /**
       * Output the link to the forum
       *
       * @since bbPress (r2464)
       *
       * @param int $forum_id Optional. Forum id
       * @uses bbp_get_forum_permalink() To get the permalink
       */
      

Comments are closed.