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?
Thank you