PluginProbe
Groups – Memberships and Access Control / 1.1.5
Groups – Memberships and Access Control v1.1.5
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.1.5, at lib/core/constants.php

91 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 * 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 /**
23 * @var string plugin version dummy
24 */
25 define( 'GROUPS_DEFAULT_VERSION', '1.0.0' );
26
27 /**
28 * @var string plugin domain
29 */
30 define( 'GROUPS_PLUGIN_DOMAIN', 'groups' );
31
32 /**
33 * @var string plugin directory on the server
34 */
35 define( 'GROUPS_PLUGIN_DIR', GROUPS_CORE_DIR );
36
37 /**
38 * @var string plugin url
39 */
40 define( 'GROUPS_PLUGIN_URL', plugin_dir_url( GROUPS_FILE ) );
41
42 /**
43 * @var string groups table prefix
44 */
45 define( 'GROUPS_TP', 'groups_' );
46
47 // administrative capabilities
48
49 /**
50 * @var string grants access to the groups section
51 */
52 define( 'GROUPS_ACCESS_GROUPS', 'groups_access' );
53
54 /**
55 * @var string grants CRUD for groups (CRUD)
56 */
57 define( 'GROUPS_ADMINISTER_GROUPS', 'groups_admin_groups');
58
59 /**
60 * @var string grants to administer plugin options
61 */
62 define( 'GROUPS_ADMINISTER_OPTIONS', 'groups_admin_options');
63
64 /**
65 * @var string admin nonce
66 */
67 define( 'GROUPS_ADMIN_GROUPS_NONCE', 'groups-admin-nonce' );
68
69
70 /**
71 * @var string admin override option
72 */
73 define( 'GROUPS_ADMINISTRATOR_ACCESS_OVERRIDE', 'groups-admin-override' );
74
75 /**
76 * @var string admin override option default setting
77 */
78 define( 'GROUPS_ADMINISTRATOR_ACCESS_OVERRIDE_DEFAULT', true );
79
80 /**
81 * Tree view option
82 * @var string
83 */
84 define( 'GROUPS_SHOW_TREE_VIEW', 'groups-show-tree-view' );
85
86 /**
87 * Tree view option default.
88 * @var boolean
89 */
90 define( 'GROUPS_SHOW_TREE_VIEW_DEFAULT', false );
91