You are here

function hook_privatemsg_name_lookup_matches in Privatemsg 7.2

Same name and namespace in other branches
  1. 6.2 privatemsg.api.php \hook_privatemsg_name_lookup_matches()
  2. 7 privatemsg.api.php \hook_privatemsg_name_lookup_matches()

Allows to alter found recipient types for a given string.

Parameters

$matches: Array of matching recipient objects.

$string: String representation of the recipient.

Related topics

File

./privatemsg.api.php, line 586
Privatemsg API Documentation

Code

function hook_privatemsg_name_lookup_matches(&$matches, $string) {
}