summaryrefslogtreecommitdiff
path: root/basic-fullcalendar.php
blob: 00efa4aa40575c3966df4e159dd788c8cd51f625 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
/**
 * Plugin Name: Basic FullCalendar
 * Description: Basic Calendar based on FullCalendar.io
 * Plugin URI: https://gitlab.com/DRogueRonin/wp-plugin-basic-full-calendar
 * Author: Daniel Weipert
 * Version: 1.0.0
 * Author URI: https://dweipert.de
 */

require 'vendor/autoload.php';

add_action('plugins_loaded', 'basicFullCalendar');
function basicFullCalendar() {
    new \BasicFullCalendar\BasicFullCalendar();
}

function basicFullCalendarAssetsUrl($path): string {
    return plugins_url("build/$path", __FILE__);
}