Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // WooCommerce - Set default product type
- // code goes in functions.php for your child theme
- add_action( 'default_product_type', 'custom_product_type' );
- function custom_product_type() {
- return "variable";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement