/** 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' );
Comments Off on wpdwc_view_details_button_link