Home › Forums › Backend Issues (wp-admin) › Acf json will not save to a symlinked file › Reply To: Acf json will not save to a symlinked file
I’m not exactly sure why you want to do this. If acf-json is a symlink in the template directory and you add get_template_directory().'/acf-json'
as a path for ACF, writing a file to the symlink will write the file to the path in the symlink. This should be handled by your server’s file system, or PHP. The only thing I can think of that would prevent this is if PHP does not have permission to write to the path that is symlinked.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.