[Resolved] Assign wp_die to a specific user role
-
My buddypress community is available only for registered users and new user can register only using an invitation code so I created a new user role called “Banned” using User Role Editor plugin and I want all the users assigned to this user role to get the wp_die() along with a custom message when they log in.
Anyone got an idea how this piece of code can be written?Cheers,
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Resolved] Assign wp_die to a specific user role’ is closed to new replies.