PluginProbe
Restrict User Access – Ultimate Membership & Content Protection / 2.7
Restrict User Access – Ultimate Membership & Content Protection v2.7
trunk 1.3 2.0 2.1.3 2.2.3 2.3.2 2.4 2.4.1 2.4.2 2.4.3 2.5 2.6 2.6.1 2.7 2.7.1 2.8 2.8.1
restrict-user-access / restrict-user-access.php

restrict-user-access.php in Restrict User Access – Ultimate Membership & Content Protection 2.7, at restrict-user-access.php

80 lines 3.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @package Restrict User Access
4 * @author Joachim Jensen <joachim@dev.institute>
5 * @license GPLv3
6 * @copyright 2024 by Joachim Jensen
7 *
8 * Plugin Name: Restrict User Access
9 * Plugin URI: https://dev.institute/wordpress-memberships/
10 * Description: Easily restrict content and contexts to provide exclusive access for specific Access Levels.
11 * Version: 2.7
12 * Author: DEV Institute
13 * Author URI: https://dev.institute
14 * Requires at least: 5.5
15 * Requires PHP: 7.1
16 * Text Domain: restrict-user-access
17 * Domain Path: /lang/
18 * License: GPLv3
19 *
20 * This program is free software: you can redistribute it and/or modify
21 * it under the terms of the GNU General Public License as published by
22 * the Free Software Foundation, either version 3 of the License, or
23 * (at your option) any later version.
24 *
25 * This program is distributed in the hope that it will be useful,
26 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28 * GNU General Public License for more details.
29 *
30 * You should have received a copy of the GNU General Public License
31 * along with this program. If not, see <http://www.gnu.org/licenses/>.
32 */
33
34 if (!defined('ABSPATH')) {
35 exit;
36 }
37
38 $rua_plugin_path = plugin_dir_path(__FILE__);
39
40 require $rua_plugin_path . '/lib/wp-content-aware-engine/bootstrap.php';
41 require $rua_plugin_path . '/lib/wp-db-updater/wp-db-updater.php';
42 require $rua_plugin_path . '/helpers/collection.php';
43 require $rua_plugin_path . '/interfaces/user_level.php';
44 require $rua_plugin_path . '/interfaces/user.php';
45 require $rua_plugin_path . '/interfaces/level.php';
46 require $rua_plugin_path . '/models/user.php';
47 require $rua_plugin_path . '/models/level.php';
48 require $rua_plugin_path . '/models/user_level.php';
49 require $rua_plugin_path . '/automators/base.php';
50 require $rua_plugin_path . '/automators/login.php';
51 require $rua_plugin_path . '/automators/edd_product.php';
52 require $rua_plugin_path . '/automators/woo_product.php';
53 require $rua_plugin_path . '/automators/bp_member_type.php';
54 require $rua_plugin_path . '/automators/user_role.php';
55 require $rua_plugin_path . '/automators/user_role_sync.php';
56 require $rua_plugin_path . '/automators/givewp_donation.php';
57 require $rua_plugin_path . '/admin/admin.php';
58 require $rua_plugin_path . '/admin/admin_bar.php';
59 require $rua_plugin_path . '/admin/level-list-table.php';
60 require $rua_plugin_path . '/admin/level-overview.php';
61 require $rua_plugin_path . '/admin/level-edit.php';
62 require $rua_plugin_path . '/admin/settings.php';
63 require $rua_plugin_path . '/admin/screen_account.php';
64 require $rua_plugin_path . '/admin/screen_addons.php';
65 require $rua_plugin_path . '/admin/nav-menu.php';
66 require $rua_plugin_path . '/list-members.php';
67 require $rua_plugin_path . '/list-capabilities.php';
68 require $rua_plugin_path . '/app.php';
69 require $rua_plugin_path . '/content-mode.php';
70 require $rua_plugin_path . '/query-filters.php';
71 require $rua_plugin_path . '/level.php';
72 require $rua_plugin_path . 'freemius.php';
73 require $rua_plugin_path . '/api/deprecated.php';
74 require $rua_plugin_path . '/api/functions.php';
75
76 // Launch plugin
77 RUA_App::instance();
78
79 require $rua_plugin_path . '/db_updates.php';
80