PluginProbe
Groups – Memberships and Access Control / 1.12.0
Groups – Memberships and Access Control v1.12.0
4.6.0 4.5.0 4.4.0 4.3.0 trunk 1.0.0-beta-1 1.0.0-beta-2 1.0.0-beta-3 1.0.0-beta-3b 1.0.0-beta-3c 1.0.0-beta-3d 1.1.4 1.1.5 1.10.0 1.10.1 1.10.2 1.10.3 1.11.0 1.11.1 1.11.2 1.11.3 1.12.0 1.13.0 1.13.1 1.2.0 All 129 releases
groups / groups.php

groups.php in Groups – Memberships and Access Control 1.12.0, at groups.php

61 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * groups.php
4 *
5 * Copyright (c) 2011-2016 "kento" Karim Rahimpur www.itthinx.com
6 *
7 * This code is released under the GNU General Public License.
8 * See COPYRIGHT.txt and LICENSE.txt.
9 *
10 * This code is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * This header and all notices must be kept intact.
16 *
17 * @author Karim Rahimpur
18 * @package groups
19 * @since groups 1.0.0
20 *
21 * Plugin Name: Groups
22 * Plugin URI: http://www.itthinx.com/plugins/groups
23 * Description: Groups provides group-based user membership management, group-based capabilities and content access control.
24 * Version: 1.12.0
25 * Author: itthinx
26 * Author URI: http://www.itthinx.com
27 * Donate-Link: http://www.itthinx.com
28 * License: GPLv3
29 */
30 if ( !defined( 'ABSPATH' ) ) {
31 exit;
32 }
33 define( 'GROUPS_CORE_VERSION', '1.12.0' );
34 define( 'GROUPS_FILE', __FILE__ );
35 if ( !defined( 'GROUPS_CORE_DIR' ) ) {
36 define( 'GROUPS_CORE_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
37 }
38 if ( !defined( 'GROUPS_CORE_LIB' ) ) {
39 define( 'GROUPS_CORE_LIB', GROUPS_CORE_DIR . '/lib/core' );
40 }
41 if ( !defined( 'GROUPS_ACCESS_LIB' ) ) {
42 define( 'GROUPS_ACCESS_LIB', GROUPS_CORE_DIR . '/lib/access' );
43 }
44 if ( !defined( 'GROUPS_ADMIN_LIB' ) ) {
45 define( 'GROUPS_ADMIN_LIB', GROUPS_CORE_DIR . '/lib/admin' );
46 }
47 if ( !defined( 'GROUPS_AUTO_LIB' ) ) {
48 define( 'GROUPS_AUTO_LIB', GROUPS_CORE_DIR . '/lib/auto' );
49 }
50 if ( !defined( 'GROUPS_VIEWS_LIB' ) ) {
51 define( 'GROUPS_VIEWS_LIB', GROUPS_CORE_DIR . '/lib/views' );
52 }
53 if ( !defined( 'GROUPS_WP_LIB' ) ) {
54 define( 'GROUPS_WP_LIB', GROUPS_CORE_DIR . '/lib/wp' );
55 }
56 if ( !defined( 'GROUPS_CORE_URL' ) ) {
57 define( 'GROUPS_CORE_URL', plugins_url( 'groups' ) );
58 }
59 require_once( GROUPS_CORE_LIB . '/constants.php' );
60 require_once( GROUPS_CORE_LIB . '/wp-init.php');
61