conditional statement for profile pages August 25, 2022 by Tarik Billa Try this function bp_is_members_component().