woocommerce_get_remove_url

woocommerce_get_remove_url

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_get_remove_url') is found 1 times:

  • /includes/wc-template-functions.php line 3929
     * @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