`bp_is_active()` checks if a BP $component is active – not whether members are registered but not activated. The `bp_account_was_activated` function is used in the activate.php template but isn’t appropriate here I don’t think.
In addition to the BuddyPress Conditional Tags – https://codex.buddypress.org/developer-docs/conditional-template-tags/ – you might also look at WordPress Conditional Tags – https://codex.wordpress.org/Conditional_Tags – to see if there are any that will work for you.
P.S. I just saw your other post.
`
This occurs due to my BuddyPress Auto Group Join plugin. How can I hide the not-yet-activated members from appearing on the Group Members page?
`
It seems like it would be better to modify the plugin(s) causing the issue instead of modifying the BP code. Maybe the plugin developers can assist.
@DavidCarson: `It seems like it would be better to modify the plugin(s) causing the issue instead of modifying the BP code. Maybe the plugin developers can assist.`
That’s what I’m thinking – I may need to modify the plugin code.
Generally speaking, since the `bp_is_active` and `bp_account_was_activated` functions are not relevant in this scenario, is there a function that would work?
`Generally speaking, since the bp_is_active and bp_account_was_activated functions are not relevant in this scenario, is there a function that would work?`
Anyone have an idea?