Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: How to assign a WP user role based on a registration

@henrywright

Moderator

Hi @youmin

My post was this:

Just to point out, you can’t use or in PHP. Instead you should use a double pipe like this ||.

This is wrong! You can in fact use the or operator in PHP, it just takes a lower precedence than ||.

Hence why I deleted my post.

Hope that clears things up.

Skip to toolbar