Last active
May 19, 2018 17:51
-
-
Save Aeonexe/d59c12e688c72a5da257de178c619b5c to your computer and use it in GitHub Desktop.
Cambia labels en el menú de administración
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
/** | |
* Cambia labels en el menú de administrador | |
*/ | |
function change_post_menu_label() { | |
global $menu; | |
global $submenu; | |
$menu[5][0] = 'Proyectos'; | |
$submenu['user-edit.php'][5][0] = 'Proyectos'; | |
$submenu['user-edit.php'][10][0] = 'Publicar'; | |
echo ''; | |
} | |
add_action( 'admin_menu', 'change_post_menu_label' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment