XF 2.1 isMemberOf in PHP file

What is it that you're trying to accomplish?

There may be another event that will do what you want.
 
Very nice, that it is solved, but how?
How you check it user_group "13" as an example is in the secondary_group_ids?
Does it needs an foreach => if $value == '13' then ... or is there an easier way? Or use array_search?
 
Top Bottom