Home › Forums › General Issues › Access acf functions in custom php file › Reply To: Access acf functions in custom php file
This is the only thing I can find.
https://www.sitepoint.com/the-ultimate-includerequire-script-for-wordpress/
The general thought I get from most other pages is to not do this.
I would probably look for another way to do this without bypassing WP. If you’re going to load all the plugins anyway you may as well load WP. But If I had to do it I would probably use get_post_meta()
to get my values instead of using the ACF functions.
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.