woocommerce_order_fully_refunded_status
Usage
add_filter( 'woocommerce_order_fully_refunded_status', 'wp_kama_woocommerce_order_fully_refunded_status_filter', 10, 3 ); /** * Function for `woocommerce_order_fully_refunded_status` filter-hook. * * @param $string * @param $order_id * @param $refund_id * * @return */ function wp_kama_woocommerce_order_fully_refunded_status_filter( $string, $order_id, $refund_id ){ // filter... return $string; }
- $string
- -
- $order_id
- -
- $refund_id
- -
Where the hook is called
woocommerce_order_fully_refunded_status
woocommerce/includes/wc-order-functions.php 678
$parent_status = apply_filters( 'woocommerce_order_fully_refunded_status', 'refunded', $order->get_id(), $refund->get_id() );