Home › Forums › Feature Requests › Anyway to store the JSON from PHP › Reply To: Anyway to store the JSON from PHP
Thanks,
I am playing with ACF5 right now.
Looking at the JSON it looks almost identical to the PHP files.
So Here is the Big Question:
** Can’t you just load the fields with the PHP data instead of JSON ***
All that would be needed for us would be to specify a load type:
define(‘ACF_LOAD_TYPE’, ‘php’);
Default would be:
define(‘ACF_LOAD_TYPE’, ‘json’);
By setting it to ‘php’ we agree that ACF will not look at the database and instead only use what we have defined with php.
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.