Menu Key id for Blockmeister
-
Hi,
I would like to change the name of Block Patterns in the backend menu for a client. I use the following code snippet, where I need the right menu key id, which to my knowledge is 6729. The problem: it doesnt work. Is this the right key id or is there another, better way to override the name? thanks!
function wd_admin_menu_rename() { global $menu; // Global to get menu array $menu[6729][0] = 'Vorlagen'; // Change name of dashboard to Vorlagen } add_action( 'admin_menu', 'wd_admin_menu_rename' );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Menu Key id for Blockmeister’ is closed to new replies.