Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: is_admin for group admin, can’t find it?


nit3watch
Participant

@nit3watch

@boonebgorges Im using a membership plugin that assigns a level to a user based on if he has paid yet, with this level value he can now create a group ( sorted restricting this already ), if he stops paying, he’s level is demoted and can’t continue updating/editing his group.

So when he pays, he gets level ‘1’, he cant afford it any more so he gets he’s lvl taken away and cant update the group untill he has paid again, ( got he’s level back )

So I need to restrict editing/updating a group to admins and based on he’s user lvl?

Hope thats clearer

current_user_on_level( $level_id )

Skip to toolbar