Merhaba arkadaşlar, wordpress üzerinden bir ürün tanıtım sitesi kurmaya çalışıyorum, site üzerinden satış yapılmayacak o yüzden satın al butonlarına tıklandığında instagram sayfasına atmasını istiyorum, wp üzerinden butona link verilmiyor otomatik olarak ?add-to-card=79 isimli linke yönlendiriyor, sanırsam butonun kodlarını buldum ama php bilgim olmadığı için nasıl yapacağımı bilmiyorum yardımcı olabilir misiniz?

// add to cart button
function woocommerce_template_loop_add_to_cart( $args = array() ) {
global $product;

if ( $product ) {
$defaults = array(
'quantity' => 1,
'class' => implode(
' ',
array_filter(
array(
'cart-button icon-btn',
'product_type_' . $product->get_type(),
$product->is_purchasable() && $product->is_in_stock() ? 'add_to_cart_button' : '',
$product->supports( 'ajax_add_to_cart' ) && $product->is_purchasable() && $product->is_in_stock() ? 'ajax_add_to_cart' : '',
)
)
),
'attributes' => array(
'data-product_id' => $product->get_id(),
'data-product_sku' => $product->get_sku(),
'aria-label' => $product->add_to_cart_description(),
'rel' => 'nofollow',
),
);

$args = wp_parse_args( $args, $defaults );

if ( isset( $args['attributes']['aria-label'] ) ) {
$args['attributes']['aria-label'] = wp_strip_all_tags( $args['attributes']['aria-label'] );
}
}

echo sprintf( '<a href="%s" data-quantity="%s" class="add-cart-btn %s" %s>%s</a>',
esc_url( $product->add_to_cart_url() ),
esc_attr( isset( $args['quantity'] ) ? $args['quantity'] : 1 ),
esc_attr( isset( $args['class'] ) ? $args['class'] : 'cart-button icon-btn' ),
isset( $args['attributes'] ) ? wc_implode_html_attributes( $args['attributes'] ) : '','<i class="flaticon-shopping-cart-1"></i>'
);
}