-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.php
47 lines (41 loc) · 1.4 KB
/
init.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
36
37
38
39
40
41
42
43
44
45
46
47
<?php
/**
* WP Accessibility Day - Conference Schedule
*
* @link https://wpconferenceschedule.com
* @since 1.0.0
*
* @wordpress-plugin
* Plugin Name: WP Accessibility Day - Conference Schedule
* Plugin URI: https://wpconferenceschedule.com
* Description: Forked from WP Conference Schedule by Road Warrior Creative.
* Version: 2.0.0
* Author: WP Accessibility Day
* Author URI: https://wpaccessibility.day
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: wpa-conference
* Update URI: https://github.com/wpa11yday/
*
* @package wpcsp
*/
// If this file is called directly, abort.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
require 'src/plugin-update-checker/plugin-update-checker.php';
use YahnisElsts\PluginUpdateChecker\v5\PucFactory;
$wpcsp_update_checker = PucFactory::buildUpdateChecker(
'https://github.com/wpa11yday/conference/',
__FILE__,
'wpad-conference-schedule'
);
// Set the branch that contains the stable release.
$wpcsp_update_checker->setBranch( 'master' );
require __DIR__ . '/src/wp-conference-schedule.php';
/**
* Plugin Activation & Deactivation
*/
register_activation_hook( __FILE__, 'wpcsp_pro_activation' );
register_deactivation_hook( __FILE__, 'wpcsp_pro_deactivation' );
register_uninstall_hook( __FILE__, 'wpcsp_pro_uninstall' );