Spaces Actions
30 unique action hooks currently map to this category, across 57 call sites.
Hook Inventory
| Hook | Edition | Call Sites | First Source |
|---|---|---|---|
fluent_community/after_header_menu | Core | 1 | fluent-community/app/Views/portal/header.php:58 |
fluent_community/after_header_right_menu_items | Core | 1 | fluent-community/app/Hooks/Handlers/PortalHandler.php:366 |
fluent_community/after_portal_sidebar | Core | 1 | fluent-community/app/Views/portal/main_sidebar.php:144 |
fluent_community/before_header_menu_items | Core | 1 | fluent-community/app/Hooks/Handlers/PortalHandler.php:310 |
fluent_community/before_header_right_menu_items | Core | 1 | fluent-community/app/Hooks/Handlers/PortalHandler.php:246 |
fluent_community/before_portal_dom | Core | 4 | fluent-community/app/Views/portal_page.php:78 |
fluent_community/before_portal_rendered | Core | 1 | fluent-community/app/Hooks/Handlers/PortalHandler.php:857 |
fluent_community/course/topic_completed | Core | 1 | fluent-community/Modules/Course/Services/CourseHelper.php:210 |
fluent_community/portal_action_{action} | Core | 1 | fluent-community/app/Hooks/Handlers/PortalHandler.php:783 |
fluent_community/portal_footer | Core + PRO | 2 | fluent-community-pro/app/Hooks/Handlers/ShortCodeHandler.php:82 |
fluent_community/portal_head | Core | 1 | fluent-community/app/Views/portal_page.php:74 |
fluent_community/portal_head_meta | Core | 1 | fluent-community/app/Views/portal_page.php:34 |
fluent_community/portal_header | Core + PRO | 6 | fluent-community-pro/app/Hooks/Handlers/ShortCodeHandler.php:64 |
fluent_community/portal_html | Core | 1 | fluent-community/app/Views/portal_page.php:80 |
fluent_community/portal_render_for_user | Core | 1 | fluent-community/app/Hooks/Handlers/PortalHandler.php:843 |
fluent_community/portal_sidebar | Core + PRO | 7 | fluent-community-pro/app/Hooks/Handlers/ShortCodeHandler.php:71 |
fluent_community/portal/not_logged_in | Core | 1 | fluent-community/app/Hooks/Handlers/PortalHandler.php:804 |
fluent_community/portal/viewed | Core | 1 | fluent-community/app/Hooks/Handlers/PortalHandler.php:809 |
fluent_community/rendering_headless_portal | Core | 1 | fluent-community/app/Hooks/Handlers/PortalHandler.php:854 |
fluent_community/space | Core | 3 | fluent-community/app/Hooks/Handlers/PortalHandler.php:413 |
fluent_community/space/before_delete | Core | 1 | fluent-community/app/Http/Controllers/SpaceController.php:505 |
fluent_community/space/created | Core | 1 | fluent-community/app/Http/Controllers/SpaceController.php:136 |
fluent_community/space/deleted | Core | 1 | fluent-community/app/Http/Controllers/SpaceController.php:522 |
fluent_community/space/join_requested | Core | 1 | fluent-community/app/Http/Controllers/SpaceController.php:456 |
fluent_community/space/joined | Core + PRO | 6 | fluent-community-pro/app/Services/Integrations/FluentCRM/ContactAdvancedFilter.php:245 |
fluent_community/space/member/role_updated | Core | 2 | fluent-community/app/Http/Controllers/SpaceController.php:573 |
fluent_community/space/update_meta_settings_{metaProvider} | Core | 1 | fluent-community/app/Http/Controllers/SpaceController.php:329 |
fluent_community/space/updated | Core | 2 | fluent-community/app/Http/Controllers/SpaceController.php:323 |
fluent_community/space/user_left | Core + PRO | 4 | fluent-community-pro/app/Services/Integrations/FluentCRM/ContactAdvancedFilter.php:365 |
fluent_community/top_menu_right_items | Core | 1 | fluent-community/app/Views/portal/header.php:61 |
fluent_community/after_header_menu
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: After Header Menu hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Views/portal/header.php:58 | $context (mixed) |
Example
php
add_action('fluent_community/after_header_menu', function ($context) {
}, 10, 1);fluent_community/after_header_right_menu_items
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: After Header Right Menu Items hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Hooks/Handlers/PortalHandler.php:366 | $auth (mixed) |
Example
php
add_action('fluent_community/after_header_right_menu_items', function ($auth) {
}, 10, 1);fluent_community/after_portal_sidebar
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: After Portal Sidebar hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Views/portal/main_sidebar.php:144 | $context (mixed) |
Example
php
add_action('fluent_community/after_portal_sidebar', function ($context) {
}, 10, 1);fluent_community/before_header_menu_items
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Before Header Menu Items hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Hooks/Handlers/PortalHandler.php:310 | $auth (mixed)$context (mixed) |
Example
php
add_action('fluent_community/before_header_menu_items', function ($auth, $context) {
}, 10, 2);fluent_community/before_header_right_menu_items
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Before Header Right Menu Items hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Hooks/Handlers/PortalHandler.php:246 | $auth (mixed) |
Example
php
add_action('fluent_community/before_header_right_menu_items', function ($auth) {
}, 10, 1);fluent_community/before_portal_dom
- Type: action
- Edition: Core
- Call sites: 4
- When it fires: Before Portal Dom hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Views/portal_page.php:78 | No parameters |
| Core | fluent-community/Modules/Gutenberg/EditorBlock.php:165 | No parameters |
| Core | fluent-community/Modules/Theming/templates/fluent-community-frame-full.php:24 | No parameters |
| Core | fluent-community/Modules/Theming/templates/fluent-community-frame.php:24 | No parameters |
Example
php
add_action('fluent_community/before_portal_dom', function () {
}, 10, 0);fluent_community/before_portal_rendered
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Before Portal Rendered hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Hooks/Handlers/PortalHandler.php:857 | $data (mixed) |
Example
php
add_action('fluent_community/before_portal_rendered', function ($data) {
}, 10, 1);fluent_community/course/topic_completed
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Course/Topic Completed hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/Modules/Course/Services/CourseHelper.php:210 | $topic (mixed)$userId (mixed)$lesson (mixed) |
Example
php
add_action('fluent_community/course/topic_completed', function ($topic, $userId, $lesson) {
}, 10, 3);fluent_community/portal_action_{action}
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Portal Action {Action} hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Hooks/Handlers/PortalHandler.php:783 | $_GET (mixed) |
Example
php
add_action('fluent_community/portal_action_{action}', function ($_get) {
}, 10, 1);fluent_community/portal_footer
- Type: action
- Edition: Core + PRO
- Call sites: 2
- When it fires: Portal Footer hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| PRO | fluent-community-pro/app/Hooks/Handlers/ShortCodeHandler.php:82 | No parameters |
| Core | fluent-community/app/Views/portal_page.php:84 | No parameters |
Example
php
add_action('fluent_community/portal_footer', function () {
}, 10, 0);fluent_community/portal_head
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Portal Head hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Views/portal_page.php:74 | No parameters |
Example
php
add_action('fluent_community/portal_head', function () {
}, 10, 0);fluent_community/portal_head_meta
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Portal Head Meta hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Views/portal_page.php:34 | $landing_route (mixed) |
Example
php
add_action('fluent_community/portal_head_meta', function ($landing_route) {
}, 10, 1);fluent_community/portal_header
- Type: action
- Edition: Core + PRO
- Call sites: 6
- When it fires: Portal Header hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| PRO | fluent-community-pro/app/Hooks/Handlers/ShortCodeHandler.php:64 | 'headless' (mixed) |
| Core | fluent-community/app/Views/portal/portal.php:3 | 'headless' (mixed) |
| Core | fluent-community/Modules/Gutenberg/EditorBlock.php:169 | $contenx (mixed) |
| Core | fluent-community/Modules/Gutenberg/EditorBlock.php:204 | 'headless' (mixed) |
| Core | fluent-community/Modules/Theming/templates/fluent-community-frame-full.php:27 | 'wp' (mixed) |
| Core | fluent-community/Modules/Theming/templates/fluent-community-frame.php:27 | 'wp' (mixed) |
Example
php
add_action('fluent_community/portal_header', function ($param1) {
}, 10, 1);fluent_community/portal_html
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Portal HTML hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Views/portal_page.php:80 | No parameters |
Example
php
add_action('fluent_community/portal_html', function () {
}, 10, 0);fluent_community/portal_render_for_user
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Portal Render For User hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Hooks/Handlers/PortalHandler.php:843 | $xprofile (mixed) |
Example
php
add_action('fluent_community/portal_render_for_user', function ($xprofile) {
}, 10, 1);fluent_community/portal_sidebar
- Type: action
- Edition: Core + PRO
- Call sites: 7
- When it fires: Portal Sidebar hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| PRO | fluent-community-pro/app/Hooks/Handlers/ShortCodeHandler.php:71 | 'headless' (mixed) |
| Core | fluent-community/app/Http/Controllers/OptionController.php:37 | 'ajax' (mixed) |
| Core | fluent-community/app/Views/portal/portal.php:9 | 'headless' (mixed) |
| Core | fluent-community/Modules/Gutenberg/EditorBlock.php:176 | $contenx (mixed) |
| Core | fluent-community/Modules/Gutenberg/EditorBlock.php:212 | 'headless' (mixed) |
| Core | fluent-community/Modules/Theming/templates/fluent-community-frame-full.php:33 | 'wp' (mixed) |
| Core | fluent-community/Modules/Theming/templates/fluent-community-frame.php:33 | 'wp' (mixed) |
Example
php
add_action('fluent_community/portal_sidebar', function ($param1) {
}, 10, 1);fluent_community/portal/not_logged_in
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Portal/Not Logged In hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Hooks/Handlers/PortalHandler.php:804 | $authUrl (mixed) |
Example
php
add_action('fluent_community/portal/not_logged_in', function ($authUrl) {
}, 10, 1);fluent_community/portal/viewed
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Portal/Viewed hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Hooks/Handlers/PortalHandler.php:809 | No parameters |
Example
php
add_action('fluent_community/portal/viewed', function () {
}, 10, 0);fluent_community/rendering_headless_portal
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Rendering Headless Portal hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Hooks/Handlers/PortalHandler.php:854 | $data (mixed) |
Example
php
add_action('fluent_community/rendering_headless_portal', function ($data) {
}, 10, 1);fluent_community/space
- Type: action
- Edition: Core
- Call sites: 3
- When it fires: Space hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Hooks/Handlers/PortalHandler.php:413 | [&$space] (array) |
| Core | fluent-community/app/Http/Controllers/SpaceController.php:222 | [&$space] (array) |
| Core | fluent-community/app/Http/Controllers/SpaceController.php:246 | [&$space] (array) |
Example
php
add_action('fluent_community/space', function ($space) {
}, 10, 1);fluent_community/space/before_delete
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Space/Before Delete hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/SpaceController.php:505 | $space (Space |
Example
php
add_action('fluent_community/space/before_delete', function ($space) {
}, 10, 1);fluent_community/space/created
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Space/Created hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/SpaceController.php:136 | $space (Space |
Example
php
add_action('fluent_community/space/created', function ($space, $data) {
}, 10, 2);fluent_community/space/deleted
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Space/Deleted hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/SpaceController.php:522 | $spaceId (Space |
Example
php
add_action('fluent_community/space/deleted', function ($spaceId) {
}, 10, 1);fluent_community/space/join_requested
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Space/Join Requested hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/SpaceController.php:456 | $space (Space |
Example
php
add_action('fluent_community/space/join_requested', function ($space, $id, $param3) {
}, 10, 3);fluent_community/space/joined
- Type: action
- Edition: Core + PRO
- Call sites: 6
- When it fires: Space/Joined hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| PRO | fluent-community-pro/app/Services/Integrations/FluentCRM/ContactAdvancedFilter.php:245 | $space (Space |
| Core | fluent-community/app/Http/Controllers/SpaceController.php:458 | $space (Space |
| Core | fluent-community/app/Http/Controllers/SpaceController.php:587 | $space (Space |
| Core | fluent-community/app/Http/Controllers/SpaceController.php:605 | $space (Space |
| Core | fluent-community/app/Services/Helper.php:1615 | $space (Space |
| Core | fluent-community/app/Services/Helper.php:1639 | $space (Space |
Example
php
add_action('fluent_community/space/joined', function ($space, $userId, $param3) {
}, 10, 3);fluent_community/space/member/role_updated
- Type: action
- Edition: Core
- Call sites: 2
- When it fires: Space/Member/Role Updated hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/SpaceController.php:573 | $space (Space |
| Core | fluent-community/app/Http/Controllers/SpaceController.php:590 | $space (Space |
Example
php
add_action('fluent_community/space/member/role_updated', function ($space, $pivot) {
}, 10, 2);fluent_community/space/update_meta_settings_{metaProvider}
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Space/Update Meta Settings {MetaProvider} hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/SpaceController.php:329 | $metaData (mixed)$space (Space |
Example
php
add_action('fluent_community/space/update_meta_settings_{metaProvider}', function ($metaData, $space) {
}, 10, 2);fluent_community/space/updated
- Type: action
- Edition: Core
- Call sites: 2
- When it fires: Space/Updated hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/SpaceController.php:323 | $space (Space |
| Core | fluent-community/app/Models/BaseSpace.php:312 | $this (mixed)$dirty (mixed) |
Example
php
add_action('fluent_community/space/updated', function ($space, $data) {
}, 10, 2);fluent_community/space/user_left
- Type: action
- Edition: Core + PRO
- Call sites: 4
- When it fires: Space/User Left hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| PRO | fluent-community-pro/app/Services/Integrations/FluentCRM/ContactAdvancedFilter.php:365 | $space (Space |
| PRO | fluent-community-pro/app/Services/Integrations/FluentCRM/RemoveFromSpaceAction.php:87 | $space (Space |
| Core | fluent-community/app/Http/Controllers/SpaceController.php:642 | $space (Space |
| Core | fluent-community/app/Services/Helper.php:1689 | $space (Space |
Example
php
add_action('fluent_community/space/user_left', function ($space, $userId, $param3) {
}, 10, 3);fluent_community/top_menu_right_items
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Top Menu Right Items hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Views/portal/header.php:61 | $context (mixed) |
Example
php
add_action('fluent_community/top_menu_right_items', function ($context) {
}, 10, 1);