woocommerce_resume_order │ хук-событие │ WC 3.0.0

Indicates that we are resuming checkout for an existing order (which is pending payment, and which has not changed since it was added to the current shopping session).

Использование

add_action( 'woocommerce_resume_order', 'wp_kama_woocommerce_resume_order_action' );

/**
 * Function for `woocommerce_resume_order` action-hook.
 * 
 * @param int $order_id The ID of the order being resumed.
 *
 * @return void
 */
function wp_kama_woocommerce_resume_order_action( $order_id ){
	// action...
}
$order_id(int)
The ID of the order being resumed.

Список изменений

С версии 3.0.0 Введена.
С версии 3.0.0 or earlier

Где вызывается хук

WC_Checkout::create_order()
woocommerce_resume_order
woocommerce/includes/class-wc-checkout.php 434
do_action( 'woocommerce_resume_order', $order_id );

Где используется хук в WooCommerce

Использование не найдено.