ACF add options page

Arun - 13/02/2020 10:06 AM

Get field with

get_field(‘field_name’, ‘option’)

Files 1

functions.php
php
<?php
if( function_exists('acf_add_options_page') ) {
	
	acf_add_options_page(array(
	'page_title' => 'Site Options',
	'menu_title'	=> 'Site Options',
	'menu_slug' => 'site_options',
	'capability'	=> 'edit_posts',
	'redirect'	=> false
	));
	
}
?>