Skip to content

Members Actions

12 unique action hooks currently map to this category, across 17 call sites.

Hook Inventory

HookEditionCall SitesFirst Source
fluent_community/after_sync_bp_usersCore2fluent-community/app/Hooks/CLI/BuddyPressMigrator.php:152
fluent_community/auth/show_invitation_for_userCore1fluent-community/Modules/Auth/AuthModdule.php:264
fluent_community/before_unblocking_userPRO1fluent-community-pro/app/Http/Controllers/FollowController.php:205
fluent_community/before_unfollowing_userPRO2fluent-community-pro/app/Http/Controllers/FollowController.php:76
fluent_community/blocked_userPRO1fluent-community-pro/app/Http/Controllers/FollowController.php:176
fluent_community/followed_userPRO2fluent-community-pro/app/Http/Controllers/FollowController.php:47
fluent_community/members_query_refCore1fluent-community/app/Http/Controllers/MembersController.php:110
fluent_community/notification/comment/notifed_to_other_usersCore1fluent-community/app/Hooks/Handlers/NotificationEventHandler.php:483
fluent_community/profile_deactivatedCore1fluent-community/app/Http/Controllers/ProfileController.php:156
fluent_community/update_profile_link_providersCore1fluent-community/app/Http/Controllers/AdminController.php:537
fluent_community/user_level_upgradedPRO1fluent-community-pro/app/Modules/LeaderBoard/LeaderBoardModule.php:110
fluent_community/user_points_updatedCore + PRO3fluent-community-pro/app/Modules/LeaderBoard/Http/Controllers/LeaderBoardController.php:82

fluent_community/after_sync_bp_users

  • Type: action
  • Edition: Core
  • Call sites: 2
  • When it fires: After Sync Bp Users hook emitted from the current call site.

Call Sites

EditionSourceParameters
Corefluent-community/app/Hooks/CLI/BuddyPressMigrator.php:152$users (array)
Corefluent-community/Modules/Migrations/Http/Controllers/BPMigrationController.php:165$users (array)

Example

php
add_action('fluent_community/after_sync_bp_users', function ($users) {
}, 10, 1);

fluent_community/auth/show_invitation_for_user

  • Type: action
  • Edition: Core
  • Call sites: 1
  • When it fires: Auth/Show Invitation For User hook emitted from the current call site.

Call Sites

EditionSourceParameters
Corefluent-community/Modules/Auth/AuthModdule.php:264$inviation (mixed)
$frameData (mixed)

Example

php
add_action('fluent_community/auth/show_invitation_for_user', function ($inviation, $frameData) {
}, 10, 2);

fluent_community/before_unblocking_user

  • Type: action
  • Edition: PRO
  • Call sites: 1
  • When it fires: Before Unblocking User hook emitted from the current call site.

Call Sites

EditionSourceParameters
PROfluent-community-pro/app/Http/Controllers/FollowController.php:205$follow (mixed)
$xProfile (mixed)

Example

php
add_action('fluent_community/before_unblocking_user', function ($follow, $xProfile) {
}, 10, 2);

fluent_community/before_unfollowing_user

  • Type: action
  • Edition: PRO
  • Call sites: 2
  • When it fires: Before Unfollowing User hook emitted from the current call site.

Call Sites

EditionSourceParameters
PROfluent-community-pro/app/Http/Controllers/FollowController.php:76$follow (mixed)
$xProfile (mixed)
PROfluent-community-pro/app/Http/Controllers/FollowController.php:113$follow (mixed)
$xProfile (mixed)

Example

php
add_action('fluent_community/before_unfollowing_user', function ($follow, $xProfile) {
}, 10, 2);

fluent_community/blocked_user

  • Type: action
  • Edition: PRO
  • Call sites: 1
  • When it fires: Blocked User hook emitted from the current call site.

Call Sites

EditionSourceParameters
PROfluent-community-pro/app/Http/Controllers/FollowController.php:176$follow (mixed)
$xProfile (mixed)

Example

php
add_action('fluent_community/blocked_user', function ($follow, $xProfile) {
}, 10, 2);

fluent_community/followed_user

  • Type: action
  • Edition: PRO
  • Call sites: 2
  • When it fires: Followed User hook emitted from the current call site.

Call Sites

EditionSourceParameters
PROfluent-community-pro/app/Http/Controllers/FollowController.php:47$follow (mixed)
$xProfile (mixed)
PROfluent-community-pro/app/Http/Controllers/FollowController.php:120$follow (mixed)
$xProfile (mixed)

Example

php
add_action('fluent_community/followed_user', function ($follow, $xProfile) {
}, 10, 2);

fluent_community/members_query_ref

  • Type: action
  • Edition: Core
  • Call sites: 1
  • When it fires: Members Query Ref hook emitted from the current call site.

Call Sites

EditionSourceParameters
Corefluent-community/app/Http/Controllers/MembersController.php:110[&$members, $request->all()] (array)

Example

php
add_action('fluent_community/members_query_ref', function ($all) {
}, 10, 1);

fluent_community/notification/comment/notifed_to_other_users

  • Type: action
  • Edition: Core
  • Call sites: 1
  • When it fires: Notification/Comment/Notifed To Other Users hook emitted from the current call site.

Call Sites

EditionSourceParameters
Corefluent-community/app/Hooks/Handlers/NotificationEventHandler.php:483[ 'user_ids' => $sendingUserIds, 'key' => 'notifed_to_other_users', 'notification' => $notification, 'comment' => $comment, 'feed' => $feed ] (array)

Example

php
add_action('fluent_community/notification/comment/notifed_to_other_users', function ($sendingUserIds) {
}, 10, 1);

fluent_community/profile_deactivated

  • Type: action
  • Edition: Core
  • Call sites: 1
  • When it fires: Profile Deactivated hook emitted from the current call site.

Call Sites

EditionSourceParameters
Corefluent-community/app/Http/Controllers/ProfileController.php:156$xprofile (mixed)

Example

php
add_action('fluent_community/profile_deactivated', function ($xprofile) {
}, 10, 1);

  • Type: action
  • Edition: Core
  • Call sites: 1
  • When it fires: Update Profile Link Providers hook emitted from the current call site.

Call Sites

EditionSourceParameters
Corefluent-community/app/Http/Controllers/AdminController.php:537$config (mixed)

Example

php
add_action('fluent_community/update_profile_link_providers', function ($config) {
}, 10, 1);

fluent_community/user_level_upgraded

  • Type: action
  • Edition: PRO
  • Call sites: 1
  • When it fires: User Level Upgraded hook emitted from the current call site.

Call Sites

EditionSourceParameters
PROfluent-community-pro/app/Modules/LeaderBoard/LeaderBoardModule.php:110$xprofile (mixed)
$newLevel (mixed)
$oldLevel (mixed)

Example

php
add_action('fluent_community/user_level_upgraded', function ($xprofile, $newLevel, $oldLevel) {
}, 10, 3);

fluent_community/user_points_updated

  • Type: action
  • Edition: Core + PRO
  • Call sites: 3
  • When it fires: User Points Updated hook emitted from the current call site.

Call Sites

EditionSourceParameters
PROfluent-community-pro/app/Modules/LeaderBoard/Http/Controllers/LeaderBoardController.php:82$profileModel (mixed)
$oldPoints (mixed)
PROfluent-community-pro/app/Modules/LeaderBoard/Services/LeaderBoardHelper.php:180$xprofile (mixed)
$oldPoints (mixed)
Corefluent-community/app/Hooks/CLI/Commands.php:151$xProfile (mixed)
$oldPoints (mixed)

Example

php
add_action('fluent_community/user_points_updated', function ($profileModel, $oldPoints) {
}, 10, 2);

FluentCommunity developer documentation