renaming an admin menu item with decimal array index number

You have to use a string as key:

$menu['26.0648'][0] = 'Event Calendar';

If you write the key as a number, it will truncate the decimal to an integer, so 26.0648 will be truncated to 26.

Leave a Comment