Hooks Reference

Hooks Reference

All registered in plugin_init() unless noted. This plugin integrates with a large number of other lh- plugins – grouped by what they connect to.

Registered meta (see Database Schema for details)

register_meta() is called on init for gender, birthdate, and all five address fields, each via its own field class's register_meta_fields(). The phone keys stopped being registered in 3.30.4: phone numbers live in LH Phone Numbers. The address keys are legacy too: addresses live in LH Addresses, and since LH Addresses 0.11.0 the keys are no longer kept up to date.

User edit / save lifecycle

BuddyPress

"Users Insights" plugin integration

LH Check-Ins / Log Entry integration

LH CRM / Group Invites

CSV import and export

LH Buddypress Group Reports

LH Contacts

Registered at file level in includes/lh-profile-vcard-integration-class.php (LH_Profile_Vcard_Integration). Until 3.10.5 these hooked LH Vcard’s lh_vcard_* filters; LH Contacts replaced LH Vcard. Phone numbers on cards come from LH Phone Numbers, not here.

LH Add User

Search & user list

In includes/lh-profile-admin-users-class.php (LH_Profile_Admin_Users).

Filters this plugin exposes for other plugins to hook