Skip to content

Instantly share code, notes, and snippets.

@danielbitzer
Created December 29, 2017 12:41
Show Gist options
  • Save danielbitzer/5eeb10c7030134a955544008cfb00f6e to your computer and use it in GitHub Desktop.
Save danielbitzer/5eeb10c7030134a955544008cfb00f6e to your computer and use it in GitHub Desktop.
AutomateWoo Refer A Friend - Change number of fields in share form (requires v1.7.10)
<?php
add_filter( 'automatewoo/referrals/share_form/email_field_count', function() {
return 3;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment