@jaytfl
Active 2 months, 3 weeks ago
-
Jay started the topic Exclude certain users’ activity based on their email ids in the forum Creating & Extending 1 year, 3 months ago
Hello Team,
I would like to exclude some of the users based on their email or domain name.
I have tried using below code but it isn’t working.
function add_excluded_type( $where_conditions, $r, $select_sql, $from_sql, $join_sql ) {$where_conditions[]='user_email NOT LIKE "%@gmail.com"';
return $where_conditions;
}add_filter( &…[Read more]