-
Mauro replied to the topic Member Loop only MemberPress members in the forum How-to & Troubleshooting 3 years, 4 months ago
I’ve been testing this and found out that the code as is done in my previous post will break the members search feature from 3rd party plugins. So I modified this to use the “exclude” argument instead of the “include”.
Since doing this is going to be a heavy call on the server, I’ve decided to store my exclusion list in the DB as an option. I’m…[Read more]
-
Mauro replied to the topic Member Loop only MemberPress members in the forum How-to & Troubleshooting 3 years, 4 months ago
Please note the above solution won’t work if you have a custom table prefix (i.e. different than “wp_”).
I’ve put together this function using the bp_after_has_members_parse_args filter. Posting it here in case anyone needs it. So far it looks like it works fine./**
[Read more]
* Only list active MemberPress members in the members directory.
* sources:
*…
@maurodalu
Active 3 years, 4 months ago