bbp_get_forum_last_reply_url

  • apply_filters( 'bbp_get_forum_last_reply_url', $reply_url, $forum_id )

    Source Reference:

    • Component: bbPress :: bbp-forum
      File: /bbp-includes/bbp-forum-template.php :: Trac Source Line: 975
      		// No replies, so look for topics and use last permalink
      		} else {
      			if ( !$reply_url = bbp_get_forum_last_topic_permalink( $forum_id ) ) {
      				// No topics either, so set $reply_url as empty
      				$reply_url = '';
      			}
      		}
      
      		// Filter and return
      		return apply_filters( 'bbp_get_forum_last_reply_url', $reply_url, $forum_id );
      	}
      
      /**
       * Output author ID of last reply of forum
       *
       * @since bbPress (r2625)
       *
       * @param int $forum_id Optional. Forum id
       * @uses bbp_get_forum_last_reply_author_id() To get the forum's last reply
       *                                             author id
      

Comments are closed.