Open angusdowling opened 6 years ago
Hi! Sounds like a pretty cool hook to add, I'll look into it. I really enjoy it when people extend my plugin hence I'd like to make it as convenient as possible!
You might also be interested to hear that I'll soon be launching a pro version of AF which includes a Mailchimp integration. Hoping to release it pretty soon!
In file
advanced-forms/admin/admin-emails.php
on line21
, a function namedadd_email_field_inserter
exists. It's the function that adds the "insert field" button to dashboard fields.I'm currently working on a plugin that integrates Mailchimp with Advanced Forms. I think it would be great if I could include my own custom fields in this list.
I noticed inside the function, there's a list of fields that receive this button:
Is it possible to make the variable
$fields_to_add
filterable?Thanks!