Changeset 2560
- Timestamp:
- 02/03/2010 02:09:11 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-themes/bp-sn-parent/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-sn-parent/functions.php
r2455 r2560 311 311 add_action( 'wp_ajax_aw_get_older_updates', 'bp_activity_ajax_load_older_updates' ); 312 312 313 function bp_classic_remove_redundant() { 314 global $bp; 315 316 /* Remove the navigation options that the theme does no support. */ 317 bp_core_remove_subnav_item( $bp->activity->slug, 'groups' ); 318 bp_core_remove_subnav_item( $bp->activity->slug, 'favorites' ); 319 bp_core_remove_subnav_item( $bp->activity->slug, 'mentions' ); 320 } 321 add_action( 'init', 'bp_classic_remove_redundant' ); 313 322 ?>
Note: See TracChangeset
for help on using the changeset viewer.