Changeset 5461
- Timestamp:
- 12/08/2011 03:15:55 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/functions.php
r5362 r5461 106 106 // Friends button 107 107 if ( bp_is_active( 'friends' ) ) 108 add_action( 'bp_member_header_actions', 'bp_add_friend_button' );108 add_action( 'bp_member_header_actions', 'bp_add_friend_button', 5 ); 109 109 110 110 // Activity button 111 111 if ( bp_is_active( 'activity' ) ) 112 add_action( 'bp_member_header_actions', 'bp_send_public_message_button' );112 add_action( 'bp_member_header_actions', 'bp_send_public_message_button', 20 ); 113 113 114 114 // Messages button 115 115 if ( bp_is_active( 'messages' ) ) 116 add_action( 'bp_member_header_actions', 'bp_send_private_message_button' );116 add_action( 'bp_member_header_actions', 'bp_send_private_message_button', 20 ); 117 117 118 118 // Group buttons 119 119 if ( bp_is_active( 'groups' ) ) { 120 add_action( 'bp_group_header_actions', 'bp_group_join_button' );121 add_action( 'bp_group_header_actions', 'bp_group_new_topic_button' );120 add_action( 'bp_group_header_actions', 'bp_group_join_button', 5 ); 121 add_action( 'bp_group_header_actions', 'bp_group_new_topic_button', 20 ); 122 122 add_action( 'bp_directory_groups_actions', 'bp_group_join_button' ); 123 123 }
Note: See TracChangeset
for help on using the changeset viewer.