WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20956, comment 14


Ignore:
Timestamp:
06/14/12 20:19:49 (3 years ago)
Author:
martythornley
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20956, comment 14

    initial v1  
    55I used the following to alter the "Posts" menu item to read "Blog": 
    66 
     7 
     8{{{ 
    79add_filter( 'menu_items' , 'custom_menu_items' , 1, 2 ); 
    810 
     
    1113        return $menu; 
    1214} 
     15}}} 
     16 
    1317 
    1418I think there might be a few places within that same file to add similar filters. I just added it at the top, before some other changes are made to the menu. But it seems to work. :)