bbp_get_forum_last_topic_permalink

  • apply_filters( 'bbp_get_forum_last_topic_permalink', bbp_get_topic_permalink( bbp_get_forum_last_topic_id( $forum_id ) ), $forum_id )

    Source Reference:

    • Component: bbPress :: bbp-forum
      File: /bbp-includes/bbp-forum-template.php :: Trac Source Line: 788
      	 * @uses bbp_get_forum_id() To get the forum id
      	 * @uses bbp_get_forum_last_topic_id() To get the forum's last topic id
      	 * @uses bbp_get_topic_permalink() To get the topic's permalink
      	 * @uses apply_filters() Calls 'bbp_get_forum_last_topic_permalink' with
      	 *                        the topic link and forum id
      	 * @return string Permanent link to topic
      	 */
      	function bbp_get_forum_last_topic_permalink( $forum_id = 0 ) {
      		$forum_id = bbp_get_forum_id( $forum_id );
      		return apply_filters( 'bbp_get_forum_last_topic_permalink', bbp_get_topic_permalink( bbp_get_forum_last_topic_id( $forum_id ) ), $forum_id );
      	}
      
      /**
       * Return the author ID of the last topic of a forum
       *
       * @since bbPress (r2625)
       *
       * @param int $forum_id Optional. Forum id
       * @uses bbp_get_forum_id() To get the forum id
       * @uses bbp_get_forum_last_topic_id() To get the forum's last topic id
      

Comments are closed.