2020-04-28 14:22:15 +02:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
Plugin Name: WPGancio
|
|
|
|
Plugin URI: https://gancio.org
|
2020-05-14 22:36:58 +02:00
|
|
|
Description: Connects an user of a gancio instance to a Wordpress user so that published events are automatically pushed with Gancio API.
|
2024-02-14 23:11:17 +01:00
|
|
|
Version: 1.10
|
2020-05-14 22:36:58 +02:00
|
|
|
Author: Gancio
|
|
|
|
License: AGPL 3.0
|
2020-04-28 14:22:15 +02:00
|
|
|
|
2020-05-14 22:36:58 +02:00
|
|
|
WPGancio is free software: you can redistribute it and/or modify it under the
|
|
|
|
terms of the GNU Affero General Public License as published by the Free
|
|
|
|
Software Foundation, either version 3 of the license, or any later version.
|
2020-04-28 14:22:15 +02:00
|
|
|
|
2020-05-14 22:36:58 +02:00
|
|
|
WPGancio is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
|
PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
2020-04-28 14:22:15 +02:00
|
|
|
|
2020-05-14 22:36:58 +02:00
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
along with (WPGancio). If not, see (https://www.gnu.org/licenses/agpl-3.0.html).
|
|
|
|
*/
|
2020-04-28 14:22:15 +02:00
|
|
|
|
2022-11-29 16:36:07 +01:00
|
|
|
defined('ABSPATH') or die('Nope, not accessing this');
|
|
|
|
define('WPGANCIO_DIR', plugin_dir_path(__FILE__));
|
2022-11-04 12:22:21 +01:00
|
|
|
require_once(WPGANCIO_DIR . 'settings.php');
|
2022-12-12 15:37:54 +01:00
|
|
|
|
2022-11-04 12:22:21 +01:00
|
|
|
require_once(WPGANCIO_DIR . 'wc.php');
|
|
|
|
require_once(WPGANCIO_DIR . 'oauth.php');
|
2020-04-28 14:22:15 +02:00
|
|
|
|
|
|
|
|
2022-12-12 15:37:54 +01:00
|
|
|
|
2020-04-28 14:22:15 +02:00
|
|
|
/**
|
2020-05-14 22:36:58 +02:00
|
|
|
* What does WPGancio do?
|
|
|
|
* This plugin connects a user of a gancio instance to a Wordpress user so that events published
|
|
|
|
* on Wordpress are automatically inserted.
|
|
|
|
* It requires an event manager plugin, only Event Organiser (https://wp-event-organiser.com/) is
|
|
|
|
* supported until now but to add another plugin it's easy.
|
2024-02-14 22:34:04 +01:00
|
|
|
*/
|