Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'wcfm_product_simple_fields_tag', function( $fields ) {
- if( isset( $fields['product_tags'] ) ) {
- $fields['product_tags']['custom_attributes'] = ['required' => 1 ];
- }
- return $fields;
- } );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement