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 | |
/* | |
* Description: Lista de posibles argumentos de la función acf_add_options_page(). | |
* Tested with: ACF Pro V5.7 | |
* Author: @ohyeahdev | |
* Author URI: https://www.ohyeahdev.com | |
*/ | |
$args = array( | |
/* Título que se muestra en la página de opciones (requerido) */ |
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 | |
/* | |
* Description: Código que crear una página de opciones. Establecer el título de la página de opciones a "Opciones Generales". | |
* Tested with: ACF Pro V5.7 | |
* Author: @ohyeahdev | |
* Author URI: https://www.ohyeahdev.com | |
*/ | |
if( function_exists('acf_add_options_page') ) { | |
acf_add_options_page('Opciones Generales'); |
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 | |
/* | |
* Description: Código que crear una página de opciones. Opción más sencilla. | |
* Tested with: ACF Pro V5.7 | |
* Author: @ohyeahdev | |
* Author URI: https://www.ohyeahdev.com | |
*/ | |
if( function_exists('acf_add_options_page') ) { | |
NewerOlder