Home › Forums › Add-ons › Options Page › Options page links not working › Reply To: Options page links not working
Just a note on this if anyone else is looking for this. I think I’ve figured this out. I was using the acf/init hook to call the functions creating the options pages. They were spread across multiple files and classes. I noticed that the main page was getting called after some of the subpages. When I added a priority of 1 to the main page hook and it appears to be working.
add_action('acf/init', [$this, 'baaSettingsPage'], 1);
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.