Skip to content

Auth Actions

4 unique action hooks currently map to this category, across 6 call sites.

Hook Inventory

HookEditionCall SitesFirst Source
fluent_community/auth/before_auth_page_processCore1fluent-community/Modules/Auth/AuthModdule.php:125
fluent_community/before_auth_form_headerCore3fluent-community/app/Views/auth/login_form.php:3
fluent_community/invitation_createdCore1fluent-community/Modules/Auth/Classes/InvitationService.php:193
fluent_community/invitation_link_createdCore1fluent-community/Modules/Auth/Classes/InvitationService.php:211

fluent_community/auth/before_auth_page_process

  • Type: action
  • Edition: Core
  • Call sites: 1
  • When it fires: Auth/Before Auth Page Process hook emitted from the current call site.

Call Sites

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

Example

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

fluent_community/before_auth_form_header

  • Type: action
  • Edition: Core
  • Call sites: 3
  • When it fires: Before Auth Form Header hook emitted from the current call site.

Call Sites

EditionSourceParameters
Corefluent-community/app/Views/auth/login_form.php:3'login' (mixed)
Corefluent-community/app/Views/auth/user_invitation.php:4'signup' (mixed)
Corefluent-community/Modules/Auth/AuthModdule.php:706'login' (mixed)

Example

php
add_action('fluent_community/before_auth_form_header', function ($param1) {
}, 10, 1);

fluent_community/invitation_created

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

Call Sites

EditionSourceParameters
Corefluent-community/Modules/Auth/Classes/InvitationService.php:193$inviation (mixed)

Example

php
add_action('fluent_community/invitation_created', function ($inviation) {
}, 10, 1);

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

Call Sites

EditionSourceParameters
Corefluent-community/Modules/Auth/Classes/InvitationService.php:211$inviation (mixed)

Example

php
add_action('fluent_community/invitation_link_created', function ($inviation) {
}, 10, 1);

FluentCommunity developer documentation