Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Add field to your product enquiry form
- */
- add_filter('product_enquery_fields',function($fields){
- $new_fields = $fields;
- $new_fields['company'] = array(
- 'label' => __('Company', 'woocommerce'),
- 'type' => 'text',
- 'weight'=>9,
- );
- return $new_fields;
- },10,2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement