woocommerce_get_remove_url

woocommerce_get_remove_url

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_get_remove_url') is found 1 times:

  • /includes/wc-template-functions.php line 4155
    4151
    4152
    4153
    4154
    4155
    4156
    4157
    4158
    4159
    4160
    4161
    * @return string url to page
     */
    function wc_get_cart_remove_url( $cart_item_key ) {
        $cart_page_url = wc_get_cart_url();
        return apply_filters( 'woocommerce_get_remove_url', $cart_page_url ? wp_nonce_url( add_query_arg( 'remove_item', $cart_item_key, $cart_page_url ), 'woocommerce-cart' ) : '' );
    }
     
    /**
     * Gets the url to re-add an item into the cart.
     *
     * @since 3.3.0