Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'wcfm_product_fields_stock', function( $fields, $product_id, $product_type ) {
- if( wcfm_is_vendor() ) $fields = wcfm_hide_field( 'sold_individually', $fields );
- return $fields;
- }, 999, 3 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement