forked from wceu/contributor-orientation-tool
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcontributor-orientation-tool.php
34 lines (31 loc) · 1.11 KB
/
contributor-orientation-tool.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
<?php
/**
* Plugin Name: Contributor orientation tool WP Scripts
* Plugin URI: https://github.com/wceu/contributor-orientation-tool
* Description: A WordPress plugin aiming to help new contributors decide which make team/s to contribute to or join at Contributor Day.
* Version: 2.0.0
* Author: Aleksandar Predic
* Author URI: https://www.acapredic.com/
* Tags: comments, spam
* Requires at least: 5.0
* Tested up to: 5.1
* Requires PHP: 7.0
* Stable tag: 2.0.0
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: contributor-orientation-tool
* Domain Path: /languages
* Network: true
*/
// Do not allow directly accessing this file.
if ( ! defined( 'ABSPATH' ) ) {
exit( 'Direct script access denied.' );
}
if ( ! class_exists( 'WPCOTool_Plugin' ) ) {
// Setup class autoloader.
require_once plugin_dir_path( __FILE__ ) . 'lib/WPCOTool/Autoloader.php';
\WPCOTool\Autoloader::register();
// Load plugin.
$contributor_orientation_tool_plugin = new \WPCOTool\Plugin( __FILE__ );
add_action( 'plugins_loaded', array( $contributor_orientation_tool_plugin, 'load' ), 1 );
}