woocommerce_checkout_posted_data
Usage
add_filter( 'woocommerce_checkout_posted_data', 'wp_kama_woocommerce_checkout_posted_data_filter' ); /** * Function for `woocommerce_checkout_posted_data` filter-hook. * * @param $data * * @return */ function wp_kama_woocommerce_checkout_posted_data_filter( $data ){ // filter... return $data; }
- $data
- -
Where the hook is called
woocommerce_checkout_posted_data
woocommerce/includes/class-wc-checkout.php 807
return apply_filters( 'woocommerce_checkout_posted_data', $data );