wc_order_attribution_stamp_checkout_html_actions
Filter set of actions used to stamp the checkout order attribution HTML container element.
Использование
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 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(массив)
- The set of actions used to stamp the checkout order attribution HTML container element.
Список изменений
| С версии 9.0.0 | Введена. |
Где вызывается хук
wc_order_attribution_stamp_checkout_html_actions
woocommerce/src/Internal/Orders/OrderAttributionController.php 142-151
$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', ) );