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

Example code

/** Function to change the 'view details' button text with WooConnect */
function acme_view_details_button( $viewbtntext ) {
    $viewbtntext = 'Item Details';
    return $viewbtntext;
}
add_filter( 'wpdwc_view_details_button_text', 'acme_view_details_button' );

File location:

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

Comments Off on wpdwc_view_details_button_text