From 447676550361813676826d3a2c39065e330d7730 Mon Sep 17 00:00:00 2001 From: Corey McKrill <916023+coreymckrill@users.noreply.github.com> Date: Mon, 28 Oct 2019 12:32:17 -0700 Subject: [PATCH] Log: Add missing doc block --- plugins/wporg-5ftf/includes/pledge-log.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/plugins/wporg-5ftf/includes/pledge-log.php b/plugins/wporg-5ftf/includes/pledge-log.php index 3b569e6..4b775e8 100644 --- a/plugins/wporg-5ftf/includes/pledge-log.php +++ b/plugins/wporg-5ftf/includes/pledge-log.php @@ -213,7 +213,15 @@ function capture_added_post_meta( $meta_id, $object_id, $meta_key, $meta_value ) } } - +/** + * Record logs for events when a pledge post's status changes. + * + * @param string $new_status + * @param string $old_status + * @param WP_Post $post + * + * @return void + */ function capture_transition_post_status( $new_status, $old_status, WP_Post $post ) { if ( Pledge\CPT_ID !== get_post_type( $post ) ) { return;