From f316fdcca5b0079c21cbf3cc079c9374a47de848 Mon Sep 17 00:00:00 2001 From: Joe Dolson Date: Sun, 8 Sep 2024 11:17:49 -0500 Subject: [PATCH] Update mt-fields-api.php --- src/mt-fields-api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mt-fields-api.php b/src/mt-fields-api.php index 4079b02..fd4dcc5 100644 --- a/src/mt-fields-api.php +++ b/src/mt-fields-api.php @@ -319,7 +319,7 @@ function mt_show_payment_field( $content, $payment_id ) { $custom_fields = mt_get_custom_fields( 'admin' ); $output = ''; foreach ( $custom_fields as $name => $field ) { - $data = get_post_meta( $payment_id, $name ); + $data = get_post_meta( $payment_id, $name ); /** * Customize the output of custom fields in the admin Payment record. *