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:359
fluent_community/comment_added_{feed}Core + PRO2fluent-community-pro/app/Http/Controllers/ModerationController.php:198
fluent_community/comment_deleted_{feed}Core1fluent-community/app/Http/Controllers/CommentsController.php:576
fluent_community/comment_updated_{feed}Core1fluent-community/app/Http/Controllers/CommentsController.php:253
fluent_community/feed_mentionedCore2fluent-community/app/Http/Controllers/FeedsController.php:466
fluent_community/feed_mentioned_user_idsCore1fluent-community/app/Hooks/Handlers/NotificationEventHandler.php:598
fluent_community/feed/before_deletedCore1fluent-community/app/Http/Controllers/FeedsController.php:886
fluent_community/feed/cast_survey_voteCore1fluent-community/app/Services/FeedsHelper.php:374
fluent_community/feed/createdCore + PRO5fluent-community-pro/app/Hooks/Handlers/SchedulePostHandler.php:92
fluent_community/feed/deletedCore1fluent-community/app/Http/Controllers/FeedsController.php:889
fluent_community/feed/just_created_type_{formContentType}Core1fluent-community/app/Http/Controllers/FeedsController.php:470
fluent_community/feed/media_deletedCore + PRO5fluent-community-pro/app/Modules/DocumentLibrary/DocumentModule.php:31
fluent_community/feed/new_feed_{feed}Core1fluent-community/app/Http/Controllers/FeedsController.php:504
fluent_community/feed/react_addedCore2fluent-community/app/Http/Controllers/CommentsController.php:537
fluent_community/feed/react_removedCore2fluent-community/app/Http/Controllers/CommentsController.php:507
fluent_community/feed/rescheduledPRO1fluent-community-pro/app/Http/Controllers/SchedulePostsController.php:131
fluent_community/feed/scheduledCore1fluent-community/app/Http/Controllers/FeedsController.php:492
fluent_community/feed/scheduling_everyone_tagCore1fluent-community/app/Hooks/Handlers/NotificationEventHandler.php:644
fluent_community/feed/updatedCore2fluent-community/app/Http/Controllers/FeedsController.php:700
fluent_community/feed/updating_content_type_old_{existingContentType}Core1fluent-community/app/Http/Controllers/FeedsController.php:600
fluent_community/feeds_queryCore1fluent-community/app/Http/Controllers/FeedsController.php:158
fluent_community/product_integration_feed_createdCore1fluent-community/Modules/Integrations/FluentCart/Paywalls.php:83
fluent_community/product_integration_feed_updatedCore2fluent-community/Modules/Integrations/FluentCart/Paywalls.php:56
fluent_community/profile_feed/createdCore1fluent-community/app/Http/Controllers/FeedsController.php:519
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:65
fluent_community/space_feed/updatedCore1fluent-community/app/Http/Controllers/FeedsController.php:702

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:359$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:198$content (mixed)
$feed (Feed
Corefluent-community/app/Http/Controllers/CommentsController.php:167$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:576$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:253$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:466$feed (Feed
Corefluent-community/app/Services/FeedsHelper.php:478$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:598$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:886$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:374$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:201$content (mixed)
PROfluent-community-pro/app/Http/Controllers/SchedulePostsController.php:76$feed (Feed
Corefluent-community/app/Http/Controllers/FeedsController.php:514$feed (Feed
Corefluent-community/app/Services/FeedsHelper.php:490$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:889$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:470$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:31$documents (mixed)
PROfluent-community-pro/app/Modules/DocumentLibrary/DocumentModule.php:148$documents (mixed)
PROfluent-community-pro/app/Modules/DocumentLibrary/DocumentModule.php:164$deletedDocuments (mixed)
PROfluent-community-pro/app/Modules/DocumentLibrary/Http/DocumentController.php:203$media (mixed)
Corefluent-community/app/Http/Controllers/FeedsController.php:902$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:504$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:537$react (mixed)
$feed (Feed
Corefluent-community/app/Http/Controllers/ReactionController.php:125$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:507$feed (Feed
Corefluent-community/app/Http/Controllers/ReactionController.php:96$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:492$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:644$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:700$existingFeed (Feed
Corefluent-community/app/Http/Controllers/FeedsController.php:761$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:600$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:158[&$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:83$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:56$integration->id (mixed)
$space->id (Space
Corefluent-community/Modules/Integrations/FluentCart/Paywalls.php:118$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:519$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:203$content (mixed)
PROfluent-community-pro/app/Http/Controllers/SchedulePostsController.php:79$feed (Feed
Corefluent-community/app/Http/Controllers/FeedsController.php:517$feed (Feed
Corefluent-community/app/Services/FeedsHelper.php:493$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:65[&$query, $feed, $space, $types] (array)
Corefluent-community/app/Hooks/Handlers/EmailNotificationHandler.php:119[&$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:702$existingFeed (Feed

Example

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

FluentCommunity developer documentation