Hi,
I use this snippet to create an Options Page:
// Check function exists.
if( function_exists('acf_add_options_page') ) {
// Register options page.
$option_page = acf_add_options_page(array(
'page_title' => 'options',
'menu_title' => 'options',
'capability' => 'edit_posts',
'redirect' => false,
'post_id' => 'options'
));
}
Now I tried to access the data with /wp-json/wp/v2/options/options
The result is ‘rest_no_route’
Any ideas how to access it correctly?
Beste Steffen