bp_get_forum_topic_new_reply_link

  • apply_filters( 'bp_get_forum_topic_new_reply_link', $link . '#post-topic-reply', $link )

    Source Reference:

    • Component: BuddyPress :: bp-forums
      File: /bp-forums/bp-forums-template.php :: Trac Source Line: 914
      		} else {
      			// Create a link to the last page for the topic
      			$link = add_query_arg( array(
      				'topic_page' =>	$topic_template->pag->total_pages,
      				'num'        => $topic_template->pag_num
      			), bp_get_the_topic_permalink() );
      		}
      
      		// Tack on the #post-topic-reply anchor before returning
      		return apply_filters( 'bp_get_forum_topic_new_reply_link', $link . '#post-topic-reply', $link );
      	}
      
      /**
       * Echoes the output of bp_get_forums_tag_name()
       *
       * @package BuddyPress
       * @todo Deprecate?
       */
      function bp_forums_tag_name() {
      	echo bp_get_forums_tag_name();
      

Comments are closed.