Skip to:
Content

BuddyPress.org

Changes between Version 5 and Version 6 of Ticket #4454, comment 5


Ignore:
Timestamp:
10/30/2012 10:16:00 PM (12 years ago)
Author:
modemlooper
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4454, comment 5

    v5 v6  
    33This works, but you have to specify the arg. if you just put the specifier it out puts %s. So options are to add a count key to item array for nav items creation or create a new function that is a catch all for tab counts. It's a trivial though.
    44
     5
     6{{{
    57$bp->bp_nav['messages']['name'] = sprintf( 'New name <span>%s</span>' , bp_get_total_unread_messages_count() ) ;
     8}}}