whereas $field['default_value'] = $current_email;
will load something. I don’t want people to have to type their email here. Not good for users – my client will not be happy. Can’t it just prepopulate the field
I am not certain your issue is clear enough. From your description, your code should work just fine.You need to ensure that the method is actually triggered and the $current_mail actually returns the expected value.
Hope this helps.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users