-
Notifications
You must be signed in to change notification settings - Fork 3
/
wp-vereinsflieger.php
35 lines (28 loc) · 1.02 KB
/
wp-vereinsflieger.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
/**
* Plugin Name: WP Vereinsflieger
* Plugin URI: https://github.com/diginize/wp-vereinsflieger
* Donate link: https://paypal.me/diginize
* Tags: sso, vereinsflieger, luftsport
* Description: Allows users to login into wordpress using their Vereinsflieger login.
* Version: 1.1.0
* Author: Diginize
* Author URI: https://www.diginize.de
* License: GPLv3
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/
require_once(__DIR__ . '/vendor/autoload.php');
use Diginize\WpVereinsflieger\WpVereinsflieger;
if (!defined('WPVF_DOMAIN')) {
define('WPVF_DOMAIN', 'wp-vereinsflieger');
}
if (!defined('WPVF_BASE_FILE')) {
define('WPVF_BASE_FILE', __FILE__);
}
if (!defined('WPVF_DONATE_LINK')) {
define('WPVF_DONATE_LINK', 'https://paypal.me/diginize');
}
register_activation_hook( __FILE__, [WpVereinsflieger::class, 'activate']);
register_deactivation_hook( __FILE__, [WpVereinsflieger::class, 'deactivate']);
register_uninstall_hook(__FILE__, [WpVereinsflieger::class, 'uninstall']);
WpVereinsflieger::init();