Habari\Comments::by_email PHP Method

by_email() public static method

selects all comments from a given email address
public static by_email ( string $email = '' ) : array
$email string an email address
return array an array of Comment objects written by that email address
    public static function by_email($email = '')
    {
        if (!$email) {
            return array();
        }
        return self::get(array("email" => $email));
    }