woocommerce_order_fully_refunded хук-событиеWC 6.7.0

Trigger notification emails.

Filter hook to modify the partially-refunded status conditions.


add_action( 'woocommerce_order_fully_refunded', 'wp_kama_woocommerce_order_fully_refunded_action', 10, 2 );

 * Function for `woocommerce_order_fully_refunded` action-hook.
 * @param bool $is_partially_refunded Whether the order is partially refunded.
 * @param int  $order_id              The order id.
 * @return void
function wp_kama_woocommerce_order_fully_refunded_action( $is_partially_refunded, $order_id ){

	// action...
Whether the order is partially refunded.
The order id.

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

С версии 6.7.0 Введена.

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

woocommerce/includes/wc-order-functions.php 652
do_action( 'woocommerce_order_fully_refunded', $order->get_id(), $refund->get_id() );

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

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