PluginProbe
Groups – Memberships and Access Control / 4.2.0
Groups – Memberships and Access Control v4.2.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 4.2.0, at groups.php

76 lines 2.4 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-2026 "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: https://www.itthinx.com/plugins/groups
23 * Description: Groups provides group-based user membership management, group-based capabilities and content access control.
24 * Version: 4.2.0
25 * Requires at least: 6.7
26 * Requires PHP: 7.4
27 * WC requires at least: 10.0
28 * WC tested up to: 10.7
29 * Author: itthinx
30 * Author URI: https://www.itthinx.com
31 * Donate-Link: https://www.itthinx.com/shop/
32 * Text Domain: groups
33 * Domain Path: /languages
34 * License: GPLv3
35 */
36 if ( !defined( 'ABSPATH' ) ) {
37 exit;
38 }
39 define( 'GROUPS_CORE_VERSION', '4.2.0' );
40 define( 'GROUPS_FILE', __FILE__ );
41 if ( !defined( 'GROUPS_CORE_DIR' ) ) {
42 define( 'GROUPS_CORE_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
43 }
44 if ( !defined( 'GROUPS_CORE_LIB' ) ) {
45 define( 'GROUPS_CORE_LIB', GROUPS_CORE_DIR . '/lib/core' );
46 }
47 if ( !defined( 'GROUPS_ACCESS_LIB' ) ) {
48 define( 'GROUPS_ACCESS_LIB', GROUPS_CORE_DIR . '/lib/access' );
49 }
50 if ( !defined( 'GROUPS_ADMIN_LIB' ) ) {
51 define( 'GROUPS_ADMIN_LIB', GROUPS_CORE_DIR . '/lib/admin' );
52 }
53 if ( !defined( 'GROUPS_AUTO_LIB' ) ) {
54 define( 'GROUPS_AUTO_LIB', GROUPS_CORE_DIR . '/lib/auto' );
55 }
56 if ( !defined( 'GROUPS_VIEWS_LIB' ) ) {
57 define( 'GROUPS_VIEWS_LIB', GROUPS_CORE_DIR . '/lib/views' );
58 }
59 if ( !defined( 'GROUPS_WP_LIB' ) ) {
60 define( 'GROUPS_WP_LIB', GROUPS_CORE_DIR . '/lib/wp' );
61 }
62 if ( !defined( 'GROUPS_EXTRA_LIB' ) ) {
63 define( 'GROUPS_EXTRA_LIB', GROUPS_CORE_DIR . '/lib/extra' );
64 }
65 if ( !defined( 'GROUPS_BLOCKS_LIB' ) ) {
66 define( 'GROUPS_BLOCKS_LIB', GROUPS_CORE_DIR . '/lib/blocks' );
67 }
68 if ( !defined( 'GROUPS_LEGACY_LIB' ) ) {
69 define( 'GROUPS_LEGACY_LIB', GROUPS_CORE_DIR . '/legacy' );
70 }
71 if ( !defined( 'GROUPS_CORE_URL' ) ) {
72 define( 'GROUPS_CORE_URL', plugins_url( 'groups' ) );
73 }
74 require_once GROUPS_CORE_LIB . '/constants.php';
75 require_once GROUPS_CORE_LIB . '/wp-init.php';
76