# Traga o nível de permissão do WordPress MemberPress

**URL:** <https://meta.discourse.org/t/bring-over-permission-level-from-wordpress-memberpress/78074>\
**Category:** WordPress\
**Created:** [15 Janeiro , 2018 16:26 UTC](https://meta.discourse.org/t/bring-over-permission-level-from-wordpress-memberpress/78074 "2018-01-15T16:26:13Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![apautler](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@apautler](https://meta.discourse.org/u/apautler)\
**Post date:** [8 Junho , 2018 15:34 UTC](https://meta.discourse.org/t/bring-over-permission-level-from-wordpress-memberpress/78074/18 "2018-06-08T15:34:16Z")

</div>

@simon Coming back to this because we need to have multiple groups added/removed and it seems to only be apply the last group. Essentially I changed the code to check for multiple different memberships (similar to Dani1’s code above). It works except when someone is a member of multiple memberships. In that situation it only applies the last group, which makes sense since it is looking for the latest value of $params. Is there a way to have multiple checks without having to nest conditions, which could start to get pretty messy?

---

_[View the full topic](https://meta.discourse.org/t/bring-over-permission-level-from-wordpress-memberpress/78074)._
