Hi there, I have a question about the front end form, I built it and it works, but I think I am not getting the “return” right, this is the code I am using for the options:
$options = array(
‘post_id’ => ‘user_’.$current_user->ID, // $user_profile,
‘field_groups’ => array(123),
‘submit_value’ => ‘Submit’,
‘return’ => ‘www.google.com’,
But it doesn’t do anything, all it does is refresh the page and break it, like I am missing something.
I tried placing
‘return’ => bloginfo(‘url’),
as an exercise, and it refreshes the page correctly (although it of course prints de site url),
soo..what am I missing?
Viewing 1 post (of 1 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