bbp_get_reply_raw_revision_log

  • apply_filters( 'bbp_get_reply_raw_revision_log', $revision_log, $reply_id )

    Source Reference:

    • Component: bbPress :: bbp-reply
      File: /bbp-includes/bbp-reply-template.php :: Trac Source Line: 633
      		 * @uses apply_filters() Calls 'bbp_get_reply_raw_revision_log'
      		 *                        with the log and reply id
      		 * @return string Raw revision log of the reply
      		 */
      		function bbp_get_reply_raw_revision_log( $reply_id = 0 ) {
      			$reply_id     = bbp_get_reply_id( $reply_id );
      			$revision_log = get_post_meta( $reply_id, '_bbp_revision_log', true );
      			$revision_log = empty( $revision_log ) ? array() : $revision_log;
      
      			return apply_filters( 'bbp_get_reply_raw_revision_log', $revision_log, $reply_id );
      		}
      
      /**
       * Return the revisions of the reply
       *
       * @since bbPress (r2782)
       *
       * @param int $reply_id Optional. Reply id
       * @uses bbp_get_reply_id() To get the reply id
       * @uses wp_get_post_revisions() To get the reply revisions
      

Comments are closed.