woocommerce_order_item_permalink filter-hookWC 1.0

Usage

add_filter( 'woocommerce_order_item_permalink', 'wp_kama_woocommerce_order_item_permalink_filter', 10, 3 );

/**
 * Function for `woocommerce_order_item_permalink` filter-hook.
 * 
 * @param  $product->get_permalink() 
 * @param  $item                     
 * @param  $order                    
 *
 * @return 
 */
function wp_kama_woocommerce_order_item_permalink_filter( $product->get_permalink(), $item, $order ){

	// filter...
	return $product->get_permalink();
}
$product->get_permalink()
-
$item
-
$order
-

Where the hook is called

Totals::render_order_details_table_item()
woocommerce_order_item_permalink
woocommerce/src/Blocks/BlockTypes/OrderConfirmation/Totals.php 132
$product_permalink = apply_filters( 'woocommerce_order_item_permalink', $is_visible ? $product->get_permalink( $item ) : '', $item, $order );
woocommerce/templates/order/order-details-item.php 31
$product_permalink = apply_filters( 'woocommerce_order_item_permalink', $is_visible ? $product->get_permalink( $item ) : '', $item, $order );

Where the hook is used in WooCommerce

Usage not found.