Code I do here is can contain some syntax errors since I don’t have a IDE telling me my mistakes. In this case there is a missing ‘ in this line value' => '"''.$value."', it should be value' => '"''.$value.'"',
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users