Changeset 160668
- Timestamp:
- 10/05/2009 12:00:07 PM (17 years ago)
- File:
-
- 1 edited
-
bppicture-album/trunk/bp-album.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bppicture-album/trunk/bp-album.php
r159728 r160668 3 3 Plugin Name: bpPicture Album 4 4 Description: You can upload pictures to your album and post wire messages on pictures. 5 Version: 0.1 5 Version: 0.1.1 6 6 Requires at least: WPMU 2.7.1, BuddyPress 1 7 7 Tested up to: WPMU 2.7.1, BuddyPress 1 … … 136 136 global $bp; 137 137 138 bp_core_add_nav_item( 139 __( 'Album', 'bp-album' ), /* The display name */ 140 $bp->album->slug /* The slug */ 141 ); 142 143 /* Set a specific sub nav item as the default when the top level item is clicked */ 144 bp_core_add_nav_default( 145 $bp->album->slug, /* The slug of the parent nav item */ 146 'bp_album_picture', /* The function to run when clicked */ 147 'picture' /* The slug of the sub nav item to make default */ 148 ); 138 bp_core_new_nav_item(array( 139 'name'=> __( 'Album', 'bp-album' ), 140 'slug'=> $bp->album->slug, 141 'screen_function'=>'bp_album_picture', 142 'default_subnav_slug'=>'picture' 143 )); 149 144 150 145 $album_link = $bp->loggedin_user->domain . $bp->album->slug . '/';
Note: See TracChangeset
for help on using the changeset viewer.