Home / Widgets / Change Month Calendar to show only items in the month | Display Eventbrite Plugins
Duplicate Snippet

Embed Snippet on Your Site

Change Month Calendar to show only items in the month | Display Eventbrite Plugins

This filter add an option to the month cal layout to only show events in the month

Code Preview
php
<?php
add_filter( 'wfea_cal_extra_options',
function ( $options ) {
   $options['fullcalendar']['showNonCurrentDates'] = false;
   return $options;
},
10,
1
);

Comments

Add a Comment