Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
add_action('admin_menu', function () {
global $menu;
foreach ($menu as $index => $menuItem) {
if(!empty($menuItem[2]) && $menuItem[2] == 'ninja_tables') {
$menu[$index][0] = 'My Tables';
}
}
}, 100);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment