Skip to:
Content

BuddyPress.org

Ticket #6668: 6668.01.patch

File 6668.01.patch, 515 bytes (added by r-a-y, 9 years ago)
  • src/bp-activity/bp-activity-functions.php

    diff --git src/bp-activity/bp-activity-functions.php src/bp-activity/bp-activity-functions.php
    index 9e5ab42..9fa62a9 100644
    function bp_activity_get_user_mentionname( $user_id ) { 
    256256                }
    257257        }
    258258
    259         return $mentionname;
     259        /**
     260         * Filters the user "mentionname" used for activity @-mentions.
     261         *
     262         * @since 2.4.0
     263         */
     264        return apply_filters( 'bp_activity_get_user_mentionname', $mentionname );
    260265}
    261266
    262267/**