You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll build upon this. I looked at the code and honestly it needs some work.
You do a echo in acfs format_value when it should return a value.
You also assume a lot by fetching the form object and then echoing it straight up (using do_shortcode.. why?) with the ID (which one already have) and the title (which one might not want to display).
I'll probably do a fork and change this. I'll make a pull request and it's your choice if you want to use it :)
Doing an echo in the format_value function actually throws an 502 error on my local nginx enviroment so that's another reason why it's a bad idea.
Calling get_field() echos out the form instead of returning the ID (as per the instructions)
The text was updated successfully, but these errors were encountered: