Merge pull request #16765 from Nils-Fredrik/master
Apply filter to posted data in checkout.
This commit is contained in:
commit
ca01b824a6
|
@ -592,7 +592,7 @@ class WC_Checkout {
|
|||
// BW compatibility.
|
||||
$this->legacy_posted_data = $data;
|
||||
|
||||
return $data;
|
||||
return apply_filters( 'woocommerce_checkout_posted_data', $data );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue