Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Remi Corson

    (@corsonr)

    Automattic Happiness Engineer

    well it seems to besomething like that…

    $menu[65] = array( sprintf( __(‘Plugins %s’), “<span class=’update-plugins count-$update_count’><span class=’plugin-count’>” . number_format_i18n($update_count) . “</span></span>” ), ‘activate_plugins’, ‘plugins.php’, ”, ‘menu-top’, ‘menu-plugins’, ‘div’ );

    Hi Corsonr. We never managed to find a non-hacky way of doing it which is why reverted to the rather ugly way mentioned above. I wonder if one of the core devs could spread some light on the best method of going about adding this functionality to a plugin – especially with v3.0 right around the corner.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘add a “count bubble” in menu’ is closed to new replies.