Set how many recipient email fields appear in the referral share form.
Developer note:
Add custom PHP in a small custom plugin or child theme, and test it on a staging site before production. This example requires ongoing maintenance when extension APIs change.
functions.php
<?php
add_filter( 'automatewoo/referrals/share_form/email_field_count', 'my_store_referral_email_field_count' );
/**
* Set the number of referral email fields.
*
* @return int
*/
function my_store_referral_email_field_count() {
return 3;
}