Skip to content

Admin Actions

4 unique action hooks currently map to this category, across 8 call sites.

Hook Inventory

HookEditionCall SitesFirst Source
fluent_community/content_moderation/createdPRO5fluent-community-pro/app/Hooks/Handlers/ModerationHandler.php:81
fluent_community/report/{status}PRO1fluent-community-pro/app/Http/Controllers/ModerationController.php:220
fluent_community/report/after_deletePRO1fluent-community-pro/app/Http/Controllers/ModerationController.php:245
fluent_community/report/before_deletePRO1fluent-community-pro/app/Http/Controllers/ModerationController.php:242

fluent_community/content_moderation/created

  • Type: action
  • Edition: PRO
  • Call sites: 5
  • When it fires: Content Moderation/Created hook emitted from the current call site.

Call Sites

EditionSourceParameters
PROfluent-community-pro/app/Hooks/Handlers/ModerationHandler.php:81$report (mixed)
$feed (Feed
PROfluent-community-pro/app/Hooks/Handlers/ModerationHandler.php:148$report (mixed)
$comment (Comment
PROfluent-community-pro/app/Hooks/Handlers/ModerationHandler.php:474$report (mixed)
$feed (Feed
PROfluent-community-pro/app/Hooks/Handlers/ModerationHandler.php:518$report (mixed)
$comment (Comment
PROfluent-community-pro/app/Http/Controllers/ModerationController.php:130$report (mixed)
$content (mixed)
$data['content_type'] (array)

Example

php
add_action('fluent_community/content_moderation/created', function ($report, $feed) {
}, 10, 2);

fluent_community/report/{status}

  • Type: action
  • Edition: PRO
  • Call sites: 1
  • When it fires: Report/{Status} hook emitted from the current call site.

Call Sites

EditionSourceParameters
PROfluent-community-pro/app/Http/Controllers/ModerationController.php:220$report (mixed)
$content (mixed)

Example

php
add_action('fluent_community/report/{status}', function ($report, $content) {
}, 10, 2);

fluent_community/report/after_delete

  • Type: action
  • Edition: PRO
  • Call sites: 1
  • When it fires: Report/After Delete hook emitted from the current call site.

Call Sites

EditionSourceParameters
PROfluent-community-pro/app/Http/Controllers/ModerationController.php:245$report (mixed)

Example

php
add_action('fluent_community/report/after_delete', function ($report) {
}, 10, 1);

fluent_community/report/before_delete

  • Type: action
  • Edition: PRO
  • Call sites: 1
  • When it fires: Report/Before Delete hook emitted from the current call site.

Call Sites

EditionSourceParameters
PROfluent-community-pro/app/Http/Controllers/ModerationController.php:242$report (mixed)

Example

php
add_action('fluent_community/report/before_delete', function ($report) {
}, 10, 1);

FluentCommunity developer documentation