Home › Forums › General Issues › Optimizing Data from Options Pages › Reply To: Optimizing Data from Options Pages
Hi trebor,
Something you can do when registering a page is, within the arguments passed to acf_add_options_page( [$settings] );
to set 'autoload' => true,
. This way WordPress will have loaded these options for you already on page loads.
More here: https://www.advancedcustomfields.com/resources/acf_add_options_page/
Cheers,
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.