Apply coding standards.
This commit is contained in:
parent
c9bf8dd194
commit
dfd2c7d44f
|
@ -292,7 +292,7 @@ class WC_Webhook extends WC_Legacy_Webhook {
|
|||
$order = wc_get_order( absint( $arg ) );
|
||||
|
||||
// Ignore standard drafts for orders.
|
||||
if ( in_array( $order->get_status(), array( 'draft', 'auto-draft', 'new' ) ) ) {
|
||||
if ( in_array( $order->get_status(), array( 'draft', 'auto-draft', 'new' ), true ) ) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue