PluginProbe
Groups – Memberships and Access Control / 1.11.0
Groups – Memberships and Access Control v1.11.0
4.7.1 4.7.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 All 131 releases
groups / lib / core / constants.php

constants.php in Groups – Memberships and Access Control 1.11.0, at lib/core/constants.php

112 lines 2.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * constants.php
4 *
5 * Copyright (c) "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
22 if ( !defined( 'ABSPATH' ) ) {
23 exit;
24 }
25
26 /**
27 * @var string plugin version dummy
28 */
29 define( 'GROUPS_DEFAULT_VERSION', '1.0.0' );
30
31 /**
32 * @var string plugin domain
33 */
34 define( 'GROUPS_PLUGIN_DOMAIN', 'groups' );
35
36 /**
37 * @var string plugin directory on the server
38 */
39 define( 'GROUPS_PLUGIN_DIR', GROUPS_CORE_DIR );
40
41 /**
42 * @var string plugin url
43 */
44 define( 'GROUPS_PLUGIN_URL', plugin_dir_url( GROUPS_FILE ) );
45
46 /**
47 * @var string groups table prefix
48 */
49 define( 'GROUPS_TP', 'groups_' );
50
51 // administrative capabilities
52
53 /**
54 * @var string grants access to the groups section
55 */
56 define( 'GROUPS_ACCESS_GROUPS', 'groups_access' );
57
58 /**
59 * @var string grants CRUD for groups (CRUD)
60 */
61 define( 'GROUPS_ADMINISTER_GROUPS', 'groups_admin_groups');
62
63 /**
64 * @var string grants to administer plugin options
65 */
66 define( 'GROUPS_ADMINISTER_OPTIONS', 'groups_admin_options');
67
68 /**
69 * @var string admin nonce
70 */
71 define( 'GROUPS_ADMIN_GROUPS_NONCE', 'groups-admin-nonce' );
72
73
74 /**
75 * @var string admin override option
76 */
77 define( 'GROUPS_ADMINISTRATOR_ACCESS_OVERRIDE', 'groups-admin-override' );
78
79 /**
80 * @var string admin override option default setting
81 */
82 define( 'GROUPS_ADMINISTRATOR_ACCESS_OVERRIDE_DEFAULT', false );
83
84 /**
85 * @var string read post capabilities option
86 */
87 define( 'GROUPS_READ_POST_CAPABILITIES', 'groups-read-post-capabilities' );
88
89 /**
90 * Tree view option
91 * @var string
92 */
93 define( 'GROUPS_SHOW_TREE_VIEW', 'groups-show-tree-view' );
94
95 /**
96 * Tree view option default.
97 * @var boolean
98 */
99 define( 'GROUPS_SHOW_TREE_VIEW_DEFAULT', false );
100
101 /**
102 * Option to show groups info in the user profile.
103 * @var string
104 */
105 define( 'GROUPS_SHOW_IN_USER_PROFILE', 'groups-show-in-user-profile' );
106
107 /**
108 * Default for showing groups in user profiles.
109 * @var boolean
110 */
111 define( 'GROUPS_SHOW_IN_USER_PROFILE_DEFAULT', false );
112