bbp_topic_append_revisions

  • apply_filters( 'bbp_topic_append_revisions', $content . bbp_get_topic_revision_log( $topic_id ), $content, $topic_id )

    Source Reference:

    • Component: bbPress :: bbp-topic
      File: /bbp-includes/bbp-topic-template.php :: Trac Source Line: 726
      function bbp_topic_content_append_revisions( $content = '', $topic_id = 0 ) {
      
      	// Bail if in admin
      	if ( is_admin() )
      		return;
      
      	// Validate the ID
      	$topic_id = bbp_get_topic_id( $topic_id );
      
      	return apply_filters( 'bbp_topic_append_revisions', $content . bbp_get_topic_revision_log( $topic_id ), $content, $topic_id );
      }
      
      /**
       * Output the revision log of the topic
       *
       * @since bbPress (r2782)
       *
       * @param int $topic_id Optional. Topic id
       * @uses bbp_get_topic_revision_log() To get the topic revision log
       */
      

Comments are closed.