Skip to content

UserEmail Criterion

The UserEmail Search Criterion searches for content based on the email assigned to the User account.

Arguments

  • value - string(s) representing the User email(s).
  • operator - operator constant (IN, EQ, LIKE).

Example

1
$query->query = new Criterion\UserEmail(['johndoe']);
1
$query->query = new Criterion\UserEmail('nospam*', Criterion\Operator::LIKE);
Read the Docs