-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlinearc-events-plugin.php
More file actions
31 lines (26 loc) · 966 Bytes
/
linearc-events-plugin.php
File metadata and controls
31 lines (26 loc) · 966 Bytes
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
<?php
/**
* Plugin Name: Linearc Events
* Plugin URI: https://www.linearc.biz/profile/
* Description: This creates suscribe, unsuscribe and email verification compatibility for linearc site.
* Version: 1.4.1
* Author: Isakiye Afasha
* Author URI: http://www.iamafasha.com
* GitHub Plugin URI: https://github.com/Linearc-Inc/wp-linearc-events
*/
if ( !function_exists( 'add_action' ) ) {
echo 'Hi there! I\'m just a plugin, not much I can do when called directly.';
exit;
}
function linearc_events_plugin_dir_path(){
return plugin_dir_path(__FILE__);
}
function linearc_events_plugin_dir_url(){
return plugin_dir_url( __FILE__ );
}
require_once plugin_dir_path( __FILE__ ).'/classes/Updater.php';
require_once plugin_dir_path( __FILE__ ).'/inc/custom-post-type-events.php';
require_once plugin_dir_path( __FILE__ ).'/inc/shortcodes.php';
if ( is_admin() ) {
// new Linearc\Plugin\Events\Updater( __FILE__, 'Linearc-Inc', "wp-linearc-events");
}