Feeds Actions
27 unique action hooks currently map to this category, across 46 call sites.
Hook Inventory
| Hook | Edition | Call Sites | First Source |
|---|---|---|---|
fluent_community/check_rate_limit/create_post | Core | 1 | fluent-community/app/Http/Controllers/FeedsController.php:256 |
fluent_community/comment_added_{feed} | Core + PRO | 2 | fluent-community-pro/app/Http/Controllers/ModerationController.php:210 |
fluent_community/comment_deleted_{feed} | Core | 1 | fluent-community/app/Http/Controllers/CommentsController.php:597 |
fluent_community/comment_updated_{feed} | Core | 1 | fluent-community/app/Http/Controllers/CommentsController.php:273 |
fluent_community/feed_mentioned | Core | 2 | fluent-community/app/Http/Controllers/FeedsController.php:364 |
fluent_community/feed_mentioned_user_ids | Core | 1 | fluent-community/app/Hooks/Handlers/NotificationEventHandler.php:681 |
fluent_community/feed/before_deleted | Core | 1 | fluent-community/app/Http/Controllers/FeedsController.php:809 |
fluent_community/feed/cast_survey_vote | Core | 1 | fluent-community/app/Services/FeedsHelper.php:411 |
fluent_community/feed/created | Core + PRO | 5 | fluent-community-pro/app/Hooks/Handlers/SchedulePostHandler.php:92 |
fluent_community/feed/deleted | Core | 1 | fluent-community/app/Http/Controllers/FeedsController.php:812 |
fluent_community/feed/just_created_type_{formContentType} | Core | 1 | fluent-community/app/Http/Controllers/FeedsController.php:368 |
fluent_community/feed/media_deleted | Core + PRO | 5 | fluent-community-pro/app/Modules/DocumentLibrary/DocumentModule.php:33 |
fluent_community/feed/new_feed_{feed} | Core | 1 | fluent-community/app/Http/Controllers/FeedsController.php:402 |
fluent_community/feed/react_added | Core | 2 | fluent-community/app/Http/Controllers/CommentsController.php:558 |
fluent_community/feed/react_removed | Core | 2 | fluent-community/app/Http/Controllers/CommentsController.php:528 |
fluent_community/feed/rescheduled | PRO | 1 | fluent-community-pro/app/Http/Controllers/SchedulePostsController.php:131 |
fluent_community/feed/scheduled | Core | 1 | fluent-community/app/Http/Controllers/FeedsController.php:390 |
fluent_community/feed/scheduling_everyone_tag | Core | 1 | fluent-community/app/Hooks/Handlers/NotificationEventHandler.php:727 |
fluent_community/feed/updated | Core | 2 | fluent-community/app/Http/Controllers/FeedsController.php:619 |
fluent_community/feed/updating_content_type_old_{existingContentType} | Core | 1 | fluent-community/app/Http/Controllers/FeedsController.php:508 |
fluent_community/feeds_query | Core | 1 | fluent-community/app/Http/Controllers/FeedsController.php:99 |
fluent_community/product_integration_feed_created | Core | 1 | fluent-community/Modules/Integrations/FluentCart/Paywalls.php:84 |
fluent_community/product_integration_feed_updated | Core | 2 | fluent-community/Modules/Integrations/FluentCart/Paywalls.php:57 |
fluent_community/profile_feed/created | Core | 1 | fluent-community/app/Http/Controllers/FeedsController.php:417 |
fluent_community/space_feed/created | Core + PRO | 5 | fluent-community-pro/app/Hooks/Handlers/SchedulePostHandler.php:95 |
fluent_community/space_feed/email_notify_sub_query | Core | 2 | fluent-community/app/Hooks/Handlers/EmailNotificationHandler.php:77 |
fluent_community/space_feed/updated | Core | 1 | fluent-community/app/Http/Controllers/FeedsController.php:621 |
fluent_community/check_rate_limit/create_post
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Check Rate Limit/Create Post hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/FeedsController.php:256 | $user (mixed) |
Example
php
add_action('fluent_community/check_rate_limit/create_post', function ($user) {
}, 10, 1);fluent_community/comment_added_{feed}
- Type: action
- Edition: Core + PRO
- Call sites: 2
- When it fires: Comment Added {Feed} hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| PRO | fluent-community-pro/app/Http/Controllers/ModerationController.php:210 | $content (mixed)$feed (Feed |
| Core | fluent-community/app/Http/Controllers/CommentsController.php:180 | $comment (Comment |
Example
php
add_action('fluent_community/comment_added_{feed}', function ($content, $feed) {
}, 10, 2);fluent_community/comment_deleted_{feed}
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Comment Deleted {Feed} hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/CommentsController.php:597 | $commentId (Comment |
Example
php
add_action('fluent_community/comment_deleted_{feed}', function ($commentId, $feed) {
}, 10, 2);fluent_community/comment_updated_{feed}
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Comment Updated {Feed} hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/CommentsController.php:273 | $comment (Comment |
Example
php
add_action('fluent_community/comment_updated_{feed}', function ($comment, $feed) {
}, 10, 2);fluent_community/feed_mentioned
- Type: action
- Edition: Core
- Call sites: 2
- When it fires: Feed Mentioned hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/FeedsController.php:364 | $feed (Feed |
| Core | fluent-community/app/Services/FeedsHelper.php:520 | $feed (Feed |
Example
php
add_action('fluent_community/feed_mentioned', function ($feed, $mentions) {
}, 10, 2);fluent_community/feed_mentioned_user_ids
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Feed Mentioned User Ids hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Hooks/Handlers/NotificationEventHandler.php:681 | $feed (Feed |
Example
php
add_action('fluent_community/feed_mentioned_user_ids', function ($feed, $mentionedUserIds) {
}, 10, 2);fluent_community/feed/before_deleted
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Feed/Before Deleted hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/FeedsController.php:809 | $feed (Feed |
Example
php
add_action('fluent_community/feed/before_deleted', function ($feed) {
}, 10, 1);fluent_community/feed/cast_survey_vote
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Feed/Cast Survey Vote hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Services/FeedsHelper.php:411 | $newSyncIndexes (mixed)$feed (Feed |
Example
php
add_action('fluent_community/feed/cast_survey_vote', function ($newSyncIndexes, $feed, $userId) {
}, 10, 3);fluent_community/feed/created
- Type: action
- Edition: Core + PRO
- Call sites: 5
- When it fires: Feed/Created hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| PRO | fluent-community-pro/app/Hooks/Handlers/SchedulePostHandler.php:92 | $feed (Feed |
| PRO | fluent-community-pro/app/Http/Controllers/ModerationController.php:213 | $content (mixed) |
| PRO | fluent-community-pro/app/Http/Controllers/SchedulePostsController.php:76 | $feed (Feed |
| Core | fluent-community/app/Http/Controllers/FeedsController.php:412 | $feed (Feed |
| Core | fluent-community/app/Services/FeedsHelper.php:532 | $feed (Feed |
Example
php
add_action('fluent_community/feed/created', function ($feed) {
}, 10, 1);fluent_community/feed/deleted
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Feed/Deleted hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/FeedsController.php:812 | $feed_id (Feed |
Example
php
add_action('fluent_community/feed/deleted', function ($feed_id) {
}, 10, 1);fluent_community/feed/just_created_type_{formContentType}
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Feed/Just Created Type {FormContentType} hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/FeedsController.php:368 | $feed (Feed |
Example
php
add_action('fluent_community/feed/just_created_type_{formContentType}', function ($feed, $requestData) {
}, 10, 2);fluent_community/feed/media_deleted
- Type: action
- Edition: Core + PRO
- Call sites: 5
- When it fires: Feed/Media Deleted hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| PRO | fluent-community-pro/app/Modules/DocumentLibrary/DocumentModule.php:33 | $documents (mixed) |
| PRO | fluent-community-pro/app/Modules/DocumentLibrary/DocumentModule.php:159 | $documents (mixed) |
| PRO | fluent-community-pro/app/Modules/DocumentLibrary/DocumentModule.php:175 | $deletedDocuments (mixed) |
| PRO | fluent-community-pro/app/Modules/DocumentLibrary/Http/DocumentController.php:204 | $media (mixed) |
| Core | fluent-community/app/Http/Controllers/FeedsController.php:825 | $feed->media (Feed |
Example
php
add_action('fluent_community/feed/media_deleted', function ($documents) {
}, 10, 1);fluent_community/feed/new_feed_{feed}
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Feed/New Feed {Feed} hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/FeedsController.php:402 | $feed (Feed |
Example
php
add_action('fluent_community/feed/new_feed_{feed}', function ($feed) {
}, 10, 1);fluent_community/feed/react_added
- Type: action
- Edition: Core
- Call sites: 2
- When it fires: Feed/React Added hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/CommentsController.php:558 | $react (mixed)$feed (Feed |
| Core | fluent-community/app/Http/Controllers/ReactionController.php:139 | $react (mixed)$feed (Feed |
Example
php
add_action('fluent_community/feed/react_added', function ($react, $feed) {
}, 10, 2);fluent_community/feed/react_removed
- Type: action
- Edition: Core
- Call sites: 2
- When it fires: Feed/React Removed hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/CommentsController.php:528 | $feed (Feed |
| Core | fluent-community/app/Http/Controllers/ReactionController.php:109 | $feed (Feed |
Example
php
add_action('fluent_community/feed/react_removed', function ($feed) {
}, 10, 1);fluent_community/feed/rescheduled
- Type: action
- Edition: PRO
- Call sites: 1
- When it fires: Feed/Rescheduled hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| PRO | fluent-community-pro/app/Http/Controllers/SchedulePostsController.php:131 | $feed (Feed |
Example
php
add_action('fluent_community/feed/rescheduled', function ($feed) {
}, 10, 1);fluent_community/feed/scheduled
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Feed/Scheduled hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/FeedsController.php:390 | $feed (Feed |
Example
php
add_action('fluent_community/feed/scheduled', function ($feed) {
}, 10, 1);fluent_community/feed/scheduling_everyone_tag
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Feed/Scheduling Everyone Tag hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Hooks/Handlers/NotificationEventHandler.php:727 | $feed (Feed |
Example
php
add_action('fluent_community/feed/scheduling_everyone_tag', function ($feed) {
}, 10, 1);fluent_community/feed/updated
- Type: action
- Edition: Core
- Call sites: 2
- When it fires: Feed/Updated hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/FeedsController.php:619 | $existingFeed (Feed |
| Core | fluent-community/app/Http/Controllers/FeedsController.php:680 | $feed (Feed |
Example
php
add_action('fluent_community/feed/updated', function ($existingFeed, $dirty) {
}, 10, 2);fluent_community/feed/updating_content_type_old_{existingContentType}
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Feed/Updating Content Type Old {ExistingContentType} hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/FeedsController.php:508 | $existingFeed (Feed |
Example
php
add_action('fluent_community/feed/updating_content_type_old_{existingContentType}', function ($existingFeed, $newContentType, $requestData) {
}, 10, 3);fluent_community/feeds_query
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Feeds Query hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/FeedsController.php:99 | [&$feedsQuery, $request->all(), $queryArgs] (array) |
Example
php
add_action('fluent_community/feeds_query', function ($all) {
}, 10, 1);fluent_community/product_integration_feed_created
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Product Integration Feed Created hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/Modules/Integrations/FluentCart/Paywalls.php:84 | $communityIntegration->id ?? null (mixed)$productId (mixed) |
Example
php
add_action('fluent_community/product_integration_feed_created', function ($id, $productId) {
}, 10, 2);fluent_community/product_integration_feed_updated
- Type: action
- Edition: Core
- Call sites: 2
- When it fires: Product Integration Feed Updated hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/Modules/Integrations/FluentCart/Paywalls.php:57 | $integration->id (mixed)$space->id (Space |
| Core | fluent-community/Modules/Integrations/FluentCart/Paywalls.php:120 | $integration->id (mixed)$space->id (Space |
Example
php
add_action('fluent_community/product_integration_feed_updated', function ($id, $id_2) {
}, 10, 2);fluent_community/profile_feed/created
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Profile Feed/Created hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/FeedsController.php:417 | $feed (Feed |
Example
php
add_action('fluent_community/profile_feed/created', function ($feed) {
}, 10, 1);fluent_community/space_feed/created
- Type: action
- Edition: Core + PRO
- Call sites: 5
- When it fires: Space Feed/Created hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| PRO | fluent-community-pro/app/Hooks/Handlers/SchedulePostHandler.php:95 | $feed (Feed |
| PRO | fluent-community-pro/app/Http/Controllers/ModerationController.php:215 | $content (mixed) |
| PRO | fluent-community-pro/app/Http/Controllers/SchedulePostsController.php:79 | $feed (Feed |
| Core | fluent-community/app/Http/Controllers/FeedsController.php:415 | $feed (Feed |
| Core | fluent-community/app/Services/FeedsHelper.php:535 | $feed (Feed |
Example
php
add_action('fluent_community/space_feed/created', function ($feed) {
}, 10, 1);fluent_community/space_feed/email_notify_sub_query
- Type: action
- Edition: Core
- Call sites: 2
- When it fires: Space Feed/Email Notify Sub Query hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Hooks/Handlers/EmailNotificationHandler.php:77 | [&$query, $feed, $space, $types] (array) |
| Core | fluent-community/app/Hooks/Handlers/EmailNotificationHandler.php:131 | [&$query, $feed, $space, $types] (array) |
Example
php
add_action('fluent_community/space_feed/email_notify_sub_query', function ($query) {
}, 10, 1);fluent_community/space_feed/updated
- Type: action
- Edition: Core
- Call sites: 1
- When it fires: Space Feed/Updated hook emitted from the current call site.
Call Sites
| Edition | Source | Parameters |
|---|---|---|
| Core | fluent-community/app/Http/Controllers/FeedsController.php:621 | $existingFeed (Feed |
Example
php
add_action('fluent_community/space_feed/updated', function ($existingFeed) {
}, 10, 1);