ACF functionality and readme update
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
// Add a custom options page to associate ACF fields with
|
||||
if ( function_exists( 'acf_add_options_page' ) ) {
|
||||
acf_add_options_page( [
|
||||
'page_title' => 'Headless Settings',
|
||||
'menu_title' => 'Headless',
|
||||
'menu_slug' => 'headless-settings',
|
||||
'capability' => 'manage_options',
|
||||
'post_id' => 'headless-settings',
|
||||
'redirect' => false,
|
||||
] );
|
||||
}
|
||||
Reference in New Issue
Block a user