woocommerce_formatted_refund_amount

woocommerce_formatted_refund_amount

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_formatted_refund_amount') is found 1 times:

  • /includes/class-wc-order-refund.php line 139
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    * @since 2.4
     * @return string
     */
    public function get_formatted_refund_amount() {
        return apply_filters( 'woocommerce_formatted_refund_amount', wc_price( $this->get_amount(), array( 'currency' => $this->get_currency() ) ), $this );
    }
     
    /**
     * Set refunded amount.
     *
     * @param string $value Value to set.