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:76
fluent_community/report/{status}PRO1fluent-community-pro/app/Http/Controllers/ModerationController.php:208
fluent_community/report/after_deletePRO1fluent-community-pro/app/Http/Controllers/ModerationController.php:233
fluent_community/report/before_deletePRO1fluent-community-pro/app/Http/Controllers/ModerationController.php:230

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:76$report (mixed)
$feed (Feed
PROfluent-community-pro/app/Hooks/Handlers/ModerationHandler.php:143$report (mixed)
$comment (Comment
PROfluent-community-pro/app/Hooks/Handlers/ModerationHandler.php:454$report (mixed)
$feed (Feed
PROfluent-community-pro/app/Hooks/Handlers/ModerationHandler.php:494$report (mixed)
$comment (Comment
PROfluent-community-pro/app/Http/Controllers/ModerationController.php:124$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:208$report (mixed)

Example

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

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:233$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:230$report (mixed)

Example

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

FluentCommunity developer documentation