Home › Forums › Add-ons › Options Page › Adding submenu pages › Reply To: Adding submenu pages
Found this issue because I faced the same problem on a site now, with ACF5 Pro. If you’re finding this thread searching around the solution is the same except in ACF5 as you can see below the priority on admin_menu is 99.
From pro\admin\options-page.php constructor:
add_action('admin_menu', array($this,'admin_menu'), 99, 0);
So the solution is use priority 100 or more in your admin_menu call as shown below:
add_action( 'admin_menu', array( $this, 'adminMenuPages' ), 101);
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!
Are you building WordPress sites with ACF and @BeaverBuilder, and wanted to use your ACF Blocks in both the block editor and Beaver Builder?— Advanced Custom Fields (@wp_acf) May 10, 2023
The BB team recently added support for using ACF Blocks in Beaver Builder. Check it out 👇https://t.co/UalEIa5aQi
© 2023 Advanced Custom Fields.