bbp_find_mentions_pattern

bbp_find_mentions_pattern

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_find_mentions_pattern') is found 1 times:

  • /includes/core/functions.php line 345
     */
    function bbp_find_mentions_pattern() {
    
    	// Filter & return
    	return apply_filters( 'bbp_find_mentions_pattern', '/[@]+([A-Za-z0-9-_\.@]+)\b/' );
    }
    
    /**
     * Searches through the content to locate usernames, designated by an @ sign.
     *
     * @since 2.2.0 bbPress (r4323)