Skip to content

Miscellaneous Actions

28 unique action hooks currently map to this category, across 35 call sites.

Hook Inventory

HookEditionCall SitesFirst Source
fluent_community/after_header_logoCore1fluent-community/app/Views/portal/header.php:45
fluent_community/after_registration_formCore1fluent-community/app/Views/auth/user_invitation.php:59
fluent_community/after_sidebar_wrapCore1fluent-community/app/Views/portal/main_sidebar.php:151
fluent_community/before_header_logoCore1fluent-community/app/Views/portal/header.php:34
fluent_community/before_js_loadedCore + PRO2fluent-community-pro/app/Hooks/Handlers/ShortCodeHandler.php:81
fluent_community/before_registration_formCore1fluent-community/app/Views/auth/user_invitation.php:23
fluent_community/block_editor_footerCore1fluent-community/app/Hooks/Handlers/FluentBlockEditorHandler.php:424
fluent_community/block_editor_headCore1fluent-community/app/Hooks/Handlers/FluentBlockEditorHandler.php:417
fluent_community/content_flaggedPRO1fluent-community-pro/app/Hooks/Handlers/ModerationHandler.php:223
fluent_community/enqueue_global_assetsCore4fluent-community/Modules/Auth/AuthModdule.php:187
fluent_community/headless/before_js_loadedCore1fluent-community/app/Views/headless_page.php:110
fluent_community/headless/contentCore2fluent-community/app/Views/headless_page.php:94
fluent_community/headless/footerCore1fluent-community/app/Views/headless_page.php:118
fluent_community/headless/headCore1fluent-community/app/Views/headless_page.php:66
fluent_community/headless/head_earlyCore1fluent-community/app/Views/headless_page.php:61
fluent_community/install_fluent_player_pluginCore1fluent-community/app/Http/Controllers/SettingController.php:316
fluent_community/install_messaging_pluginCore1fluent-community/app/Http/Controllers/SettingController.php:309
fluent_community/managed/after_removePRO1fluent-community-pro/app/Http/Controllers/ProAdminController.php:132
fluent_community/manager/addedPRO1fluent-community-pro/app/Http/Controllers/ProAdminController.php:108
fluent_community/manager/before_removePRO1fluent-community-pro/app/Http/Controllers/ProAdminController.php:128
fluent_community/manager/updatedPRO1fluent-community-pro/app/Http/Controllers/ProAdminController.php:91
fluent_community/paywall_addedCore1fluent-community/Modules/Integrations/FluentCart/Http/Controllers/PaywallController.php:93
fluent_community/paywall_removedCore1fluent-community/Modules/Integrations/FluentCart/Http/Controllers/PaywallController.php:128
fluent_community/reactivate_accountCore1fluent-community/app/Hooks/Handlers/PortalHandler.php:232
fluent_community/rendering_path_ssr_{pathParts}Core1fluent-community/app/Hooks/Handlers/PortalHandler.php:814
fluent_community/sidebar_link/after_deletePRO1fluent-community-pro/app/Http/Controllers/ProAdminController.php:811
fluent_community/sidebar_link/before_deletePRO1fluent-community-pro/app/Http/Controllers/ProAdminController.php:807
fluent_community/track_activityCore3fluent-community/app/Hooks/Handlers/ActivityMonitorHandler.php:80

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

Call Sites

EditionSourceParameters
Corefluent-community/app/Views/portal/header.php:45$auth (mixed)

Example

php
add_action('fluent_community/after_header_logo', function ($auth) {
}, 10, 1);

fluent_community/after_registration_form

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

Call Sites

EditionSourceParameters
Corefluent-community/app/Views/auth/user_invitation.php:59No parameters

Example

php
add_action('fluent_community/after_registration_form', function () {
}, 10, 0);

fluent_community/after_sidebar_wrap

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

Call Sites

EditionSourceParameters
Corefluent-community/app/Views/portal/main_sidebar.php:151$fluentCommunityContext (mixed)

Example

php
add_action('fluent_community/after_sidebar_wrap', function ($fluentCommunityContext) {
}, 10, 1);

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

Call Sites

EditionSourceParameters
Corefluent-community/app/Views/portal/header.php:34$auth (mixed)

Example

php
add_action('fluent_community/before_header_logo', function ($auth) {
}, 10, 1);

fluent_community/before_js_loaded

  • Type: action
  • Edition: Core + PRO
  • Call sites: 2
  • When it fires: Before Js Loaded hook emitted from the current call site.

Call Sites

EditionSourceParameters
PROfluent-community-pro/app/Hooks/Handlers/ShortCodeHandler.php:81No parameters
Corefluent-community/app/Views/portal_page.php:78No parameters

Example

php
add_action('fluent_community/before_js_loaded', function () {
}, 10, 0);

fluent_community/before_registration_form

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

Call Sites

EditionSourceParameters
Corefluent-community/app/Views/auth/user_invitation.php:23No parameters

Example

php
add_action('fluent_community/before_registration_form', function () {
}, 10, 0);

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

Call Sites

EditionSourceParameters
Corefluent-community/app/Hooks/Handlers/FluentBlockEditorHandler.php:424No parameters

Example

php
add_action('fluent_community/block_editor_footer', function () {
}, 10, 0);

fluent_community/block_editor_head

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

Call Sites

EditionSourceParameters
Corefluent-community/app/Hooks/Handlers/FluentBlockEditorHandler.php:417No parameters

Example

php
add_action('fluent_community/block_editor_head', function () {
}, 10, 0);

fluent_community/content_flagged

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

Call Sites

EditionSourceParameters
PROfluent-community-pro/app/Hooks/Handlers/ModerationHandler.php:223$report (mixed)
$content (mixed)

Example

php
add_action('fluent_community/content_flagged', function ($report, $content) {
}, 10, 2);

fluent_community/enqueue_global_assets

  • Type: action
  • Edition: Core
  • Call sites: 4
  • When it fires: Enqueue Global Assets hook emitted from the current call site.

Call Sites

EditionSourceParameters
Corefluent-community/Modules/Auth/AuthModdule.php:187true (mixed)
Corefluent-community/Modules/Gutenberg/EditorBlock.php:130$useBuildInTheme (mixed)
Corefluent-community/Modules/Gutenberg/EditorBlock.php:188true (mixed)
Corefluent-community/Modules/Theming/TemplateLoader.php:189true (mixed)

Example

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

fluent_community/headless/before_js_loaded

  • Type: action
  • Edition: Core
  • Call sites: 1
  • When it fires: Headless/Before Js Loaded hook emitted from the current call site.

Call Sites

EditionSourceParameters
Corefluent-community/app/Views/headless_page.php:110$fluentCommunityScope (mixed)

Example

php
add_action('fluent_community/headless/before_js_loaded', function ($fluentCommunityScope) {
}, 10, 1);

fluent_community/headless/content

  • Type: action
  • Edition: Core
  • Call sites: 2
  • When it fires: Headless/Content hook emitted from the current call site.

Call Sites

EditionSourceParameters
Corefluent-community/app/Views/headless_page.php:94$fluentCommunityScope (mixed)
Corefluent-community/app/Views/headless_page.php:100$fluentCommunityScope (mixed)

Example

php
add_action('fluent_community/headless/content', function ($fluentCommunityScope) {
}, 10, 1);

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

Call Sites

EditionSourceParameters
Corefluent-community/app/Views/headless_page.php:118$fluentCommunityScope (mixed)

Example

php
add_action('fluent_community/headless/footer', function ($fluentCommunityScope) {
}, 10, 1);

fluent_community/headless/head

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

Call Sites

EditionSourceParameters
Corefluent-community/app/Views/headless_page.php:66$fluentCommunityScope (mixed)

Example

php
add_action('fluent_community/headless/head', function ($fluentCommunityScope) {
}, 10, 1);

fluent_community/headless/head_early

  • Type: action
  • Edition: Core
  • Call sites: 1
  • When it fires: Headless/Head Early hook emitted from the current call site.

Call Sites

EditionSourceParameters
Corefluent-community/app/Views/headless_page.php:61$fluentCommunityScope (mixed)

Example

php
add_action('fluent_community/headless/head_early', function ($fluentCommunityScope) {
}, 10, 1);

fluent_community/install_fluent_player_plugin

  • Type: action
  • Edition: Core
  • Call sites: 1
  • When it fires: Install Fluent Player Plugin hook emitted from the current call site.

Call Sites

EditionSourceParameters
Corefluent-community/app/Http/Controllers/SettingController.php:316No parameters

Example

php
add_action('fluent_community/install_fluent_player_plugin', function () {
}, 10, 0);

fluent_community/install_messaging_plugin

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

Call Sites

EditionSourceParameters
Corefluent-community/app/Http/Controllers/SettingController.php:309No parameters

Example

php
add_action('fluent_community/install_messaging_plugin', function () {
}, 10, 0);

fluent_community/managed/after_remove

  • Type: action
  • Edition: PRO
  • Call sites: 1
  • When it fires: Managed/After Remove hook emitted from the current call site.

Call Sites

EditionSourceParameters
PROfluent-community-pro/app/Http/Controllers/ProAdminController.php:132$user (mixed)

Example

php
add_action('fluent_community/managed/after_remove', function ($user) {
}, 10, 1);

fluent_community/manager/added

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

Call Sites

EditionSourceParameters
PROfluent-community-pro/app/Http/Controllers/ProAdminController.php:108$user (mixed)
$roles (mixed)

Example

php
add_action('fluent_community/manager/added', function ($user, $roles) {
}, 10, 2);

fluent_community/manager/before_remove

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

Call Sites

EditionSourceParameters
PROfluent-community-pro/app/Http/Controllers/ProAdminController.php:128$user (mixed)

Example

php
add_action('fluent_community/manager/before_remove', function ($user) {
}, 10, 1);

fluent_community/manager/updated

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

Call Sites

EditionSourceParameters
PROfluent-community-pro/app/Http/Controllers/ProAdminController.php:91$user (mixed)
$roles (mixed)

Example

php
add_action('fluent_community/manager/updated', function ($user, $roles) {
}, 10, 2);

fluent_community/paywall_added

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

Call Sites

EditionSourceParameters
Corefluent-community/Modules/Integrations/FluentCart/Http/Controllers/PaywallController.php:93$space (Space

Example

php
add_action('fluent_community/paywall_added', function ($space, $productId) {
}, 10, 2);

fluent_community/paywall_removed

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

Call Sites

EditionSourceParameters
Corefluent-community/Modules/Integrations/FluentCart/Http/Controllers/PaywallController.php:128$space (Space

Example

php
add_action('fluent_community/paywall_removed', function ($space, $productId, $all) {
}, 10, 3);

fluent_community/reactivate_account

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

Call Sites

EditionSourceParameters
Corefluent-community/app/Hooks/Handlers/PortalHandler.php:232$xprofile (mixed)

Example

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

fluent_community/rendering_path_ssr_{pathParts}

  • Type: action
  • Edition: Core
  • Call sites: 1
  • When it fires: Rendering Path Ssr {PathParts} hook emitted from the current call site.

Call Sites

EditionSourceParameters
Corefluent-community/app/Hooks/Handlers/PortalHandler.php:814$pathParts (mixed)

Example

php
add_action('fluent_community/rendering_path_ssr_{pathParts}', function ($pathParts) {
}, 10, 1);

  • Type: action
  • Edition: PRO
  • Call sites: 1
  • When it fires: Sidebar Link/After Delete hook emitted from the current call site.

Call Sites

EditionSourceParameters
PROfluent-community-pro/app/Http/Controllers/ProAdminController.php:811$link (mixed)

Example

php
add_action('fluent_community/sidebar_link/after_delete', function ($link) {
}, 10, 1);

  • Type: action
  • Edition: PRO
  • Call sites: 1
  • When it fires: Sidebar Link/Before Delete hook emitted from the current call site.

Call Sites

EditionSourceParameters
PROfluent-community-pro/app/Http/Controllers/ProAdminController.php:807$link (mixed)

Example

php
add_action('fluent_community/sidebar_link/before_delete', function ($link) {
}, 10, 1);

fluent_community/track_activity

  • Type: action
  • Edition: Core
  • Call sites: 3
  • When it fires: Track Activity hook emitted from the current call site.

Call Sites

EditionSourceParameters
Corefluent-community/app/Hooks/Handlers/ActivityMonitorHandler.php:80No parameters
Corefluent-community/app/Hooks/Handlers/ActivityMonitorHandler.php:102No parameters
Corefluent-community/app/Http/Controllers/FeedsController.php:1066No parameters

Example

php
add_action('fluent_community/track_activity', function () {
}, 10, 0);

FluentCommunity developer documentation