eventscalendar:month-view.after-event-title
Fires in the month-view event card after the event title.
Start here
Copy the boilerplate below, then add the logic you need. Actions receive the values listed below and do not return a value. New to hooks? Read the hooks primer first.
Parameters
| Name | Type | Description |
|---|---|---|
$event |
\JReviews\Addons\EventsCalendar\App\Helpers\EventDecorator |
The event being rendered. |
Boilerplate
Paste this into your hook file, then add your logic or echo output.
fwd_add_action('eventscalendar:month-view.after-event-title', function($event)
{
// Execute action or echo output
});
Why the final numbers matter:
, 20, N sets the priority and how many arguments your callback accepts. If you use both $filterResult and $listing, keep , 20, 2 so both are passed to your callback.
Source Files
components/event-month-view.blade.php