Export/Import Options Pages

It is possible to export and import Options Pages in a Json file using the ACF > Tools menu. Options Pages can also be exported in PHP format, to manually register them in the functions.php file. Those tools are also available directly within the Dynamic Options Pages UI.

Settings in PHP

The Dynamic Options Pages UI use the acf_add_options_page() function behind the scene. It is possible to change the settings in PHP using the acf/get_options_page hook. Usage example:

add_filter('acf/get_options_page', 'my_acf_get_options_page', 10, 2);
function my_acf_get_options_page($page, $slug){
    if($slug === 'my-options'){
        $page['page_title'] = 'My Options';
    return $page;