Filter to change the “View Details” button link that gets added to shortcodes via the WooConnect add-on

Example code

/** Function to change the 'view details' button link with WooConnect */
function acme_view_details_link( $newviewbtn ) {
    $newviewbtn = '<a href="'. get_permalink() .'" class="button wpd-connect-btn">View Details</a>';
    return $newviewbtn;
}
add_filter( 'wpdwc_view_details_button_link', 'acme_view_details_link' );

File location:

/wpd-wooconnect/admin/class-wpd-wooconnect-admin.php

Comments Off on wpdwc_view_details_button_link