Skip to content

Feeds Actions

27 unique action hooks currently map to this category, across 46 call sites.

Hook Inventory

HookEditionCall SitesFirst Source
fluent_community/check_rate_limit/create_postCore1fluent-community/app/Http/Controllers/FeedsController.php:256
fluent_community/comment_added_{feed}Core + PRO2fluent-community-pro/app/Http/Controllers/ModerationController.php:210
fluent_community/comment_deleted_{feed}Core1fluent-community/app/Http/Controllers/CommentsController.php:597
fluent_community/comment_updated_{feed}Core1fluent-community/app/Http/Controllers/CommentsController.php:273
fluent_community/feed_mentionedCore2fluent-community/app/Http/Controllers/FeedsController.php:364
fluent_community/feed_mentioned_user_idsCore1fluent-community/app/Hooks/Handlers/NotificationEventHandler.php:681
fluent_community/feed/before_deletedCore1fluent-community/app/Http/Controllers/FeedsController.php:809
fluent_community/feed/cast_survey_voteCore1fluent-community/app/Services/FeedsHelper.php:411
fluent_community/feed/createdCore + PRO5fluent-community-pro/app/Hooks/Handlers/SchedulePostHandler.php:92
fluent_community/feed/deletedCore1fluent-community/app/Http/Controllers/FeedsController.php:812
fluent_community/feed/just_created_type_{formContentType}Core1fluent-community/app/Http/Controllers/FeedsController.php:368
fluent_community/feed/media_deletedCore + PRO5fluent-community-pro/app/Modules/DocumentLibrary/DocumentModule.php:33
fluent_community/feed/new_feed_{feed}Core1fluent-community/app/Http/Controllers/FeedsController.php:402
fluent_community/feed/react_addedCore2fluent-community/app/Http/Controllers/CommentsController.php:558
fluent_community/feed/react_removedCore2fluent-community/app/Http/Controllers/CommentsController.php:528
fluent_community/feed/rescheduledPRO1fluent-community-pro/app/Http/Controllers/SchedulePostsController.php:131
fluent_community/feed/scheduledCore1fluent-community/app/Http/Controllers/FeedsController.php:390
fluent_community/feed/scheduling_everyone_tagCore1fluent-community/app/Hooks/Handlers/NotificationEventHandler.php:727
fluent_community/feed/updatedCore2fluent-community/app/Http/Controllers/FeedsController.php:619
fluent_community/feed/updating_content_type_old_{existingContentType}Core1fluent-community/app/Http/Controllers/FeedsController.php:508
fluent_community/feeds_queryCore1fluent-community/app/Http/Controllers/FeedsController.php:99
fluent_community/product_integration_feed_createdCore1fluent-community/Modules/Integrations/FluentCart/Paywalls.php:84
fluent_community/product_integration_feed_updatedCore2fluent-community/Modules/Integrations/FluentCart/Paywalls.php:57
fluent_community/profile_feed/createdCore1fluent-community/app/Http/Controllers/FeedsController.php:417
fluent_community/space_feed/createdCore + PRO5fluent-community-pro/app/Hooks/Handlers/SchedulePostHandler.php:95
fluent_community/space_feed/email_notify_sub_queryCore2fluent-community/app/Hooks/Handlers/EmailNotificationHandler.php:77
fluent_community/space_feed/updatedCore1fluent-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

EditionSourceParameters
Corefluent-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

EditionSourceParameters
PROfluent-community-pro/app/Http/Controllers/ModerationController.php:210$content (mixed)
$feed (Feed
Corefluent-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

EditionSourceParameters
Corefluent-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

EditionSourceParameters
Corefluent-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

EditionSourceParameters
Corefluent-community/app/Http/Controllers/FeedsController.php:364$feed (Feed
Corefluent-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

EditionSourceParameters
Corefluent-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

EditionSourceParameters
Corefluent-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

EditionSourceParameters
Corefluent-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

EditionSourceParameters
PROfluent-community-pro/app/Hooks/Handlers/SchedulePostHandler.php:92$feed (Feed
PROfluent-community-pro/app/Http/Controllers/ModerationController.php:213$content (mixed)
PROfluent-community-pro/app/Http/Controllers/SchedulePostsController.php:76$feed (Feed
Corefluent-community/app/Http/Controllers/FeedsController.php:412$feed (Feed
Corefluent-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

EditionSourceParameters
Corefluent-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

EditionSourceParameters
Corefluent-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

EditionSourceParameters
PROfluent-community-pro/app/Modules/DocumentLibrary/DocumentModule.php:33$documents (mixed)
PROfluent-community-pro/app/Modules/DocumentLibrary/DocumentModule.php:159$documents (mixed)
PROfluent-community-pro/app/Modules/DocumentLibrary/DocumentModule.php:175$deletedDocuments (mixed)
PROfluent-community-pro/app/Modules/DocumentLibrary/Http/DocumentController.php:204$media (mixed)
Corefluent-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

EditionSourceParameters
Corefluent-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

EditionSourceParameters
Corefluent-community/app/Http/Controllers/CommentsController.php:558$react (mixed)
$feed (Feed
Corefluent-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

EditionSourceParameters
Corefluent-community/app/Http/Controllers/CommentsController.php:528$feed (Feed
Corefluent-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

EditionSourceParameters
PROfluent-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

EditionSourceParameters
Corefluent-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

EditionSourceParameters
Corefluent-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

EditionSourceParameters
Corefluent-community/app/Http/Controllers/FeedsController.php:619$existingFeed (Feed
Corefluent-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

EditionSourceParameters
Corefluent-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

EditionSourceParameters
Corefluent-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

EditionSourceParameters
Corefluent-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

EditionSourceParameters
Corefluent-community/Modules/Integrations/FluentCart/Paywalls.php:57$integration->id (mixed)
$space->id (Space
Corefluent-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

EditionSourceParameters
Corefluent-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

EditionSourceParameters
PROfluent-community-pro/app/Hooks/Handlers/SchedulePostHandler.php:95$feed (Feed
PROfluent-community-pro/app/Http/Controllers/ModerationController.php:215$content (mixed)
PROfluent-community-pro/app/Http/Controllers/SchedulePostsController.php:79$feed (Feed
Corefluent-community/app/Http/Controllers/FeedsController.php:415$feed (Feed
Corefluent-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

EditionSourceParameters
Corefluent-community/app/Hooks/Handlers/EmailNotificationHandler.php:77[&$query, $feed, $space, $types] (array)
Corefluent-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

EditionSourceParameters
Corefluent-community/app/Http/Controllers/FeedsController.php:621$existingFeed (Feed

Example

php
add_action('fluent_community/space_feed/updated', function ($existingFeed) {
}, 10, 1);

FluentCommunity developer documentation