Changeset 3403 for trunk/bp-xprofile.php
- Timestamp:
- 11/12/2010 10:35:06 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile.php
r3394 r3403 874 874 add_action( 'user_profile_update_errors', 'xprofile_sync_bp_profile', 10, 3 ); 875 875 876 /**877 * xprofile_remove_screen_notifications()878 *879 * Removes notifications from the notification menu when a user clicks on them and880 * is taken to a specific screen.881 *882 * @package BuddyPress Core883 */884 function xprofile_remove_screen_notifications() {885 global $bp;886 887 bp_core_delete_notifications_for_user_by_type( $bp->loggedin_user->id, $bp->profile->id, 'new_at_mention' );888 }889 add_action( 'bp_activity_screen_my_activity', 'xprofile_remove_screen_notifications' );890 add_action( 'bp_activity_screen_single_activity_permalink', 'xprofile_remove_screen_notifications' );891 892 876 893 877 /**
Note: See TracChangeset
for help on using the changeset viewer.