This commit is contained in:
Florian TIAR 2019-05-07 01:29:30 +01:00 committed by GitHub
parent b92d3d1afa
commit 0baef94bef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ if ( ! defined( 'ABSPATH' ) ) {
<?php if ( $order ) :
do_action( 'woocommerce_before_thankyou', $order->id ); ?>
do_action( 'woocommerce_before_thankyou', $order->get_id() ); ?>
<?php if ( $order->has_status( 'failed' ) ) : ?>