Action: profile completeness changed

Hook
peepso_action_profile_completeness_change

 

Plugin PeepSo Foundation
Since 1.8.2
Status Active
Args
array

Description

Fires after user’s profile completeness percentage changes when saving a field.

Fires inside an AJAX call and all output is discarded. You can set transients, send notifications, write to database etc, but you cannot modify the AJAX output.

The argument is an array('before'⇒(int),'after'⇒(int) so you can (for example) make sure to fire your code only when the percentage goes up (or down).

This will NOT take into account admin adding/removing fields until user saves something in their profile. Profile completeness is recalculated ONLY when users modify their profiles.

Examples

Action: new reported content

Hook
peepso_after_login_form

 

Plugin PeepSo Foundation
Since 1.8.2
Status Active
Args
array

Description

Fires after a new report is filed, passes the array used to perform the insert.

Examples

Action: print after login form

Hook
peepso_after_login_form

 

Plugin PeepSo Foundation
Since 1.6.2
Status Active
Args
(none)

Description

Available in Welcome Screen and PeepSo Profile Widget for guest users.

Use it to print additional login/registration HTML – for example buttons for external login/registration handlers like Facebook.

Examples

Action: like added

Hook
peepso_action_like_add

 

Plugin PeepSo Foundation
Since 1.7.4
Status Active
Args
stdClass

Description

Fires after a new like is added, passes an object of like data that was used to write the like to the database. The most important properties of that object are like_external_id and like_module_id:

Examples

Action: group joined

Hook
peepso_action_group_user_join

 

Plugin PeepSo Groups
Since 1.7.4
Status Active
Args
int
int

Description

Fires every time user joins a group, passes two ids: one of PeepSoGroup and one of PeepSoUser.

Examples

Action: group invitation sent

Hook
peepso_action_group_user_invitation_send

 

Plugin PeepSo Groups
Since 1.7.4
Status Active
Args
PeepSoGroupUser

Description

Fires after a group invitation is sent, passes the PeepSoGroupUser object

Examples

Action: group invitation accepted

Hook
peepso_action_group_user_invitation_accept

 

Plugin PeepSo Groups
Since 1.7.4
Status Active
Args
PeepSoGroupUser

Description

Fires after a group invitation is accepted, passes the PeepSoGroupUser object

Examples

Action: group created

Hook
peepso_action_group_create

 

Plugin PeepSo Groups
Since 1.7.0
Status Active
Args
PeepSoGroup

Description

Fires after a new PeepSoGroup is created, passes the PeepSoGroup object

Examples

Action: user profile field saved

Hook
peepso_action_profile_field_save

 

Plugin PeepSo Foundation
Since 1.7.3
Status Active
Args
PeepSoField

Description

Fires after PeepSoField::save() successfully writes data for a given user field. Also applies to all classes that extend PeepSoField.

Examples