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:48
fluent_community/after_registration_formCore1fluent-community/app/Views/auth/user_invitation.php:52
fluent_community/after_sidebar_wrapCore1fluent-community/app/Views/portal/main_sidebar.php:142
fluent_community/before_header_logoCore1fluent-community/app/Views/portal/header.php:37
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:16
fluent_community/block_editor_footerCore1fluent-community/app/Hooks/Handlers/FluentBlockEditorHandler.php:400
fluent_community/block_editor_headCore1fluent-community/app/Hooks/Handlers/FluentBlockEditorHandler.php:393
fluent_community/content_flaggedPRO1fluent-community-pro/app/Hooks/Handlers/ModerationHandler.php:233
fluent_community/enqueue_global_assetsCore4fluent-community/Modules/Auth/AuthModdule.php:181
fluent_community/headless/before_js_loadedCore1fluent-community/app/Views/headless_page.php:95
fluent_community/headless/contentCore2fluent-community/app/Views/headless_page.php:79
fluent_community/headless/footerCore1fluent-community/app/Views/headless_page.php:103
fluent_community/headless/headCore1fluent-community/app/Views/headless_page.php:51
fluent_community/headless/head_earlyCore1fluent-community/app/Views/headless_page.php:46
fluent_community/install_fluent_player_pluginCore1fluent-community/app/Http/Controllers/SettingController.php:300
fluent_community/install_messaging_pluginCore1fluent-community/app/Http/Controllers/SettingController.php:293
fluent_community/managed/after_removePRO1fluent-community-pro/app/Http/Controllers/ProAdminController.php:124
fluent_community/manager/addedPRO1fluent-community-pro/app/Http/Controllers/ProAdminController.php:100
fluent_community/manager/before_removePRO1fluent-community-pro/app/Http/Controllers/ProAdminController.php:120
fluent_community/manager/updatedPRO1fluent-community-pro/app/Http/Controllers/ProAdminController.php:83
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:228
fluent_community/rendering_path_ssr_{pathParts}Core1fluent-community/app/Hooks/Handlers/PortalHandler.php:787
fluent_community/sidebar_link/after_deletePRO1fluent-community-pro/app/Http/Controllers/ProAdminController.php:749
fluent_community/sidebar_link/before_deletePRO1fluent-community-pro/app/Http/Controllers/ProAdminController.php:745
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:48$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:52No 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:142$context (mixed)

Example

php
add_action('fluent_community/after_sidebar_wrap', function ($context) {
}, 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:37$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:83No 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:16No 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:400No 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:393No 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:233$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:181true (mixed)
Corefluent-community/Modules/Gutenberg/EditorBlock.php:129$useBuildInTheme (mixed)
Corefluent-community/Modules/Gutenberg/EditorBlock.php:195true (mixed)
Corefluent-community/Modules/Theming/TemplateLoader.php:200true (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:95$scope (mixed)

Example

php
add_action('fluent_community/headless/before_js_loaded', function ($scope) {
}, 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:79$scope (mixed)
Corefluent-community/app/Views/headless_page.php:85$scope (mixed)

Example

php
add_action('fluent_community/headless/content', function ($scope) {
}, 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:103$scope (mixed)

Example

php
add_action('fluent_community/headless/footer', function ($scope) {
}, 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:51$scope (mixed)

Example

php
add_action('fluent_community/headless/head', function ($scope) {
}, 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:46$scope (mixed)

Example

php
add_action('fluent_community/headless/head_early', function ($scope) {
}, 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:300No 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:293No 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:124$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:100$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:120$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:83$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:228$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:787$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:749$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:745$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:1195No parameters

Example

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

FluentCommunity developer documentation