-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathanp-network-content.php
53 lines (42 loc) · 1.63 KB
/
anp-network-content.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
48
49
50
51
52
53
<?php
/**
* ANP Network Content
*
* @author Pea, Glocal
* @license GPL-2.0+
* @link http://glocal.coop
* @since 1.2.2
* @package ANP_Network_Content
*/
/*
Plugin Name: Activist Network Content
Description: Widgets and shortcodes that display network content on your multi-site install.
Author: Pea, Glocal
Author URI: http://glocal.coop
Version: 1.7.0
License: GPLv3
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
/* ---------------------------------- *
* Constants
* ---------------------------------- */
if ( !defined( 'ANP_NETWORK_CONTENT_PLUGIN_DIR' ) ) {
define( 'ANP_NETWORK_CONTENT_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
}
if ( !defined( 'ANP_NETWORK_CONTENT_PLUGIN_URL' ) ) {
define( 'ANP_NETWORK_CONTENT_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
}
include_once( ANP_NETWORK_CONTENT_PLUGIN_DIR . 'inc/constructors.php' );
include_once( ANP_NETWORK_CONTENT_PLUGIN_DIR . 'inc/get-content.php' );
include_once( ANP_NETWORK_CONTENT_PLUGIN_DIR . 'inc/helpers.php' );
include_once( ANP_NETWORK_CONTENT_PLUGIN_DIR . 'inc/render.php' );
include_once( ANP_NETWORK_CONTENT_PLUGIN_DIR . 'inc/shortcodes.php' );
include_once( ANP_NETWORK_CONTENT_PLUGIN_DIR . 'inc/shortcake.php' );
include_once( ANP_NETWORK_CONTENT_PLUGIN_DIR . 'inc/enqueue.php' );
include_once( ANP_NETWORK_CONTENT_PLUGIN_DIR . 'inc/class-network-posts.php' );
include_once( ANP_NETWORK_CONTENT_PLUGIN_DIR . 'inc/class-network-events.php' );
include_once( ANP_NETWORK_CONTENT_PLUGIN_DIR . 'inc/class-network-sites.php' );
include_once( ANP_NETWORK_CONTENT_PLUGIN_DIR . 'glocal-network-content-widgets.php' );