PluginProbe
Events Calendar by FooEvents / 2.0.2
Events Calendar by FooEvents v2.0.2
2.0.4 2.0.2 trunk 1.7.12 1.7.14 2.0.0 2.0.1
fooevents-calendar / fooevents-calendar.php

fooevents-calendar.php in Events Calendar by FooEvents 2.0.2, at fooevents-calendar.php

38 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( ! defined( 'ABSPATH' ) ) {
2 exit;}
3 /**
4 * Plugin Name: Events Calendar by FooEvents
5 * Description: Display your events in a stylish calendar on your WordPress website using simple short codes and widgets.
6 * Version: 2.0.2
7 * Author: FooEvents
8 * Plugin URI: https://www.fooevents.com/fooevents-calendar/
9 * Author URI: https://www.fooevents.com/
10 * Developer: FooEvents
11 * Developer URI: https://www.fooevents.com/
12 * Text Domain: fooevents-calendar
13 *
14 * Copyright: © 2009-2026 FooEvents.
15 * License: GNU General Public License v3.0
16 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
17 */
18
19 require WP_PLUGIN_DIR . '/fooevents-calendar/config.php';
20 require WP_PLUGIN_DIR . '/fooevents-calendar/class-fooevents-calendar.php';
21 require 'vendors/eventbrite/HttpClient.php';
22 require WP_PLUGIN_DIR . '/fooevents-calendar/classes/blocks/class-fooevents-calendar-blocks.php';
23
24 $fooevents_calendar = new FooEvents_Calendar();
25 $fooevents_blocks = new FooEvents_Calendar_Blocks();
26
27 /**
28 * Delete FooEvents options on uninstall
29 */
30 function uninstall_fooevents_calendar() {
31
32 delete_option( 'globalFooEventsAllDayEvent' );
33 delete_option( 'globalFooEventsTwentyFourHour' );
34 delete_option( 'globalFooEventsDisplayStock' );
35 }
36
37 register_uninstall_hook( __FILE__, 'uninstall_fooevents_calendar' );
38