Home › Forums › General Issues › Understanding Return Format: Post Object vs Post ID › Reply To: Understanding Return Format: Post Object vs Post ID
Hi @cargoodrich
There are some functions that allow you to pass the post ID instead of the post object. So instead of using the post object with data that you don’t need, you can use the post ID instead. This will reduce the resource usage as ACF needs to query the database if it needs to return the post object.
I hope this makes sense 🙂
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.