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:76 |
fluent_community/report/{status} | PRO | 1 | fluent-community-pro/app/Http/Controllers/ModerationController.php:208 |
fluent_community/report/after_delete | PRO | 1 | fluent-community-pro/app/Http/Controllers/ModerationController.php:233 |
fluent_community/report/before_delete | PRO | 1 | fluent-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
| Edition | Source | Parameters |
|---|---|---|
| PRO | fluent-community-pro/app/Hooks/Handlers/ModerationHandler.php:76 | $report (mixed)$feed (Feed |
| PRO | fluent-community-pro/app/Hooks/Handlers/ModerationHandler.php:143 | $report (mixed)$comment (Comment |
| PRO | fluent-community-pro/app/Hooks/Handlers/ModerationHandler.php:454 | $report (mixed)$feed (Feed |
| PRO | fluent-community-pro/app/Hooks/Handlers/ModerationHandler.php:494 | $report (mixed)$comment (Comment |
| PRO | fluent-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
| Edition | Source | Parameters |
|---|---|---|
| PRO | fluent-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
| Edition | Source | Parameters |
|---|---|---|
| PRO | fluent-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
| Edition | Source | Parameters |
|---|---|---|
| PRO | fluent-community-pro/app/Http/Controllers/ModerationController.php:230 | $report (mixed) |
Example
php
add_action('fluent_community/report/before_delete', function ($report) {
}, 10, 1);