Filter to change the “View Details” button link that gets added to shortcodes via the WooConnect add-on Example code File location: /wpd-wooconnect/admin/class-wpd-wooconnect-admin.php
wpdwc_buy_now_button_link
Filter to change the “Buy Now” button link that gets added to shortcodes via the WooConnect add-on Example code File location: /wpd-wooconnect/admin/class-wpd-wooconnect-admin.php
wpdwc_buy_now_button_text
Filter to change the “Buy Now” button text that gets added to shortcodes via the WooConnect add-on Example code File location: /wpd-wooconnect/admin/class-wpd-wooconnect-admin.php
wpdwc_view_details_button_text
Filter to change the “View Details” button text that gets added to shortcodes via the WooConnect add-on Example code File location: /wpd-wooconnect/admin/class-wpd-wooconnect-admin.php
Add your selected dispensary location(s) to shortcode output
This is a code snippet that utilizes the Dispensary Locations add-on and displays the selected location(s) for each menu item through the included WP Dispensary action hook. If you have multiple dispensaries or only deliver specific menu items to specific cities, you can utilize this code to display the location name that also links your […]
Remove “In Stock” message from the Inventory Management add-on
View this gist on GitHub