Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sub pagina optioni ACF in impostazioni #acf #function #options
<?php
//aggiunge una pagina option dentro la sezione impostazioni
if( function_exists('acf_add_options_page') ) {
acf_add_options_sub_page(array(
'page_title' => 'Impostazioni Tema',
'menu_title' => 'Impostazioni Tema',
'parent_slug' => 'options-general.php',
));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.