The options page add-on provides a single global page to add fields to. This, however, can be extended by adding sub pages.

Each registered options page can be targeted as per usual via the location rules of an advanced custom field group.

Retrieving data from this page is the same as the normal options page. Please note that the $post_id parameter will always be ‘options’ and is not related to the sub page name. Read more ยป


1. Register by Function

The simplest way to add a sub options page is to use the acf_add_options_sub_page() function.

Note: Prior to v1.1.0, this function was named register_options_page

2. Register by Filter

As an alternative, you may use the filter: acf/options_page/settings to modify the ‘pages’ parameter