Skip to:
  • 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]

  • 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.

    * Only list active MemberPress members in the members directory.
    * sources:
    [Read more]

Skip to toolbar