Skip to content

Instantly share code, notes, and snippets.

@plugin-republic
Created November 11, 2019 08:40
Show Gist options
  • Save plugin-republic/16ee883a2b5e4e191c6802a6912013a7 to your computer and use it in GitHub Desktop.
Save plugin-republic/16ee883a2b5e4e191c6802a6912013a7 to your computer and use it in GitHub Desktop.
<?php
/**
* Display add-on fields on products that do not have a price
*/
add_action( 'woocommerce_single_product_summary', 'pewc_product_extra_fields' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment