jreviews:media_report_form.bottom
Fires at the bottom of media report modal form. Use for adding custom fields or content.
You need to have a working knowledge of Hooks before you get started.
Fires when rendering media report form modal
Parameters
| Name | Type | Description |
|---|---|---|
$media |
\JReviews\App\Models\Media |
The media being reported |
$param2 |
|
|
$creating |
bool |
Always true |
Boilerplate Code
Use the boilerplate code to start using the action, and add your own logic or echo output.
fwd_add_action('jreviews:media_report_form.bottom', function($media, $param2, $creating)
{
// Execute action or echo output
});
Source Files
app/View/Components/Media/Report.php