Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Adding a buy button under each archive product
<?php
function wps_products_show_add_to_cart_callback() {
return true;
}
add_filter( 'wps_products_show_add_to_cart', 'wps_products_show_add_to_cart_callback' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.