Approval notifications

Everyone who can approve membership applications on a site (the add_users capability, the same one that gives access to Users > Pending Approval) gets a BuddyPress notification when applications are waiting. It is a BuddyPress notification only; no email is sent.

What approvers see

When it changes

How it is stored

Component lh_membership, action membership_pending. The item_id is the blog ID and the secondary_item_id the latest applicant, the same shape BuddyPress uses for group membership requests. Someone who later loses add_users may keep a stale row; it shows nothing once the site has no pending applications.

Hooks

The code is in includes/lh-membership-pending-notifications-class.php. (Since 2.98.0.)