Created
July 8, 2020 11:38
-
-
Save axxe16/462d973c134278d762b39c0ce2454b6c to your computer and use it in GitHub Desktop.
Sub pagina optioni ACF in impostazioni #acf #function #options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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