Admin Actions
4 unique action hooks currently map to this category, across 8 call sites.
Hook Inventory
| Hook | Edition | Call Sites | First Source |
|---|---|---|---|
fluent_community/content_moderation/created | PRO | 5 | fluent-community-pro/app/Hooks/Handlers/ModerationHandler.php:81 |
fluent_community/report/{status} | PRO | 1 | fluent-community-pro/app/Http/Controllers/ModerationController.php:220 |
fluent_community/report/after_delete | PRO | 1 | fluent-community-pro/app/Http/Controllers/ModerationController.php:245 |
fluent_community/report/before_delete | PRO | 1 | fluent-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
| Edition | Source | Parameters |
|---|---|---|
| PRO | fluent-community-pro/app/Hooks/Handlers/ModerationHandler.php:81 | $report (mixed)$feed (Feed |
| PRO | fluent-community-pro/app/Hooks/Handlers/ModerationHandler.php:148 | $report (mixed)$comment (Comment |
| PRO | fluent-community-pro/app/Hooks/Handlers/ModerationHandler.php:474 | $report (mixed)$feed (Feed |
| PRO | fluent-community-pro/app/Hooks/Handlers/ModerationHandler.php:518 | $report (mixed)$comment (Comment |
| PRO | fluent-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
| Edition | Source | Parameters |
|---|---|---|
| PRO | fluent-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
| Edition | Source | Parameters |
|---|---|---|
| PRO | fluent-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
| Edition | Source | Parameters |
|---|---|---|
| PRO | fluent-community-pro/app/Http/Controllers/ModerationController.php:242 | $report (mixed) |
Example
php
add_action('fluent_community/report/before_delete', function ($report) {
}, 10, 1);