bbp_update_reply_revision_log

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

    Source Reference:

    • Component: bbPress :: bbp-reply
      File: /bbp-includes/bbp-reply-functions.php :: Trac Source Line: 915
      	$revision_id = (int) $revision_id;
      
      	// Get the logs and append the new one to those
      	$revision_log               = bbp_get_reply_raw_revision_log( $reply_id );
      	$revision_log[$revision_id] = array( 'author' => $author_id, 'reason' => $reason );
      
      	// Finally, update
      	update_post_meta( $reply_id, '_bbp_revision_log', $revision_log );
      
      	return apply_filters( 'bbp_update_reply_revision_log', $revision_log, $reply_id );
      }
      
      /** Reply Actions *************************************************************/
      
      /**
       * Handles the front end spamming/unspamming and trashing/untrashing/deleting of
       * replies
       *
       * @since bbPress (r2740)
       *
      

Comments are closed.