wc_order_attribution_stamp_checkout_html_actions
Filter set of actions used to stamp the unique checkout order attribution HTML container element.
Usage
add_filter( 'wc_order_attribution_stamp_checkout_html_actions', 'wp_kama_wc_order_attribution_stamp_checkout_html_actions_filter' ); /** * Function for `wc_order_attribution_stamp_checkout_html_actions` filter-hook. * * @param array $stamp_checkout_html_actions The set of actions used to stamp the unique checkout order attribution HTML container element. * * @return array */ function wp_kama_wc_order_attribution_stamp_checkout_html_actions_filter( $stamp_checkout_html_actions ){ // filter... return $stamp_checkout_html_actions; }
- $stamp_checkout_html_actions(array)
- The set of actions used to stamp the unique checkout order attribution HTML container element.
Changelog
Since 9.0.0 | Introduced. |
Where the hook is called
wc_order_attribution_stamp_checkout_html_actions
woocommerce/src/Internal/Orders/OrderAttributionController.php 134-143
$stamp_checkout_html_actions = apply_filters( 'wc_order_attribution_stamp_checkout_html_actions', array( 'woocommerce_checkout_billing', 'woocommerce_after_checkout_billing_form', 'woocommerce_checkout_shipping', 'woocommerce_after_order_notes', 'woocommerce_checkout_after_customer_details', ) );