ACF: Options page within any other menu

Snippets

If you are using Advanced Custom Fields PRO, you might already be using a customs options page. Have you been thinking about how to add this kind of settings page to your Custom Post Types, or elsewhere?

It’s not complicated at all, just check out the following snippet:

The parent param can have the same values as parent_page from add_submenu_page.

Leave a Reply

Your email address will not be published. Required fields are marked *