ceddcf_show_quantity filter allows you to control whether or not a number is displayed next to the field title in the checkout page, purchase confirmation page, order emails (admin and customer), as well as the purchase history page in the admin area.
This is useful in the case where you have a repeating field and want to match responses.
For example, if there are four fields that repeat: First Name, Last Name, Email, Phone Number you may need to know which email belongs to which name. In this case if there are numbers next to each, it will be easy to match the email to the name because the fields will appear like this:
- First Name 1
- Last Name 1
- Email 1
- Phone Number 1
- First Name 2
- Last Name 2
- Email 2
- Phone Number 2
To use this filter, add the following code to your child theme's functions.php file:
add_filter( 'ceddcf_show_quantity', '__return_true' );