10 seconds
Filter to change the “Buy Now” button text that gets added to shortcodes via the WooConnect add-on
Example code
/** Function to change the Connect for WooCommerce 'buy now' button text */ function acme_buy_now_button() { echo 'New Button Text'; } add_filter( 'wpdwc_buy_now_button_text', 'acme_buy_now_button' );
File location:
/wpd-wooconnect/admin/class-wpd-wooconnect-admin.php