PluginProbe
Restrict User Access – Ultimate Membership & Content Protection / 2.8
Restrict User Access – Ultimate Membership & Content Protection v2.8
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.8, at restrict-user-access.php

46 lines 1.5 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.8
12 * Author: DEV Institute
13 * Author URI: https://dev.institute
14 * Requires at least: 5.8
15 * Requires PHP: 7.2
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 defined('ABSPATH') || exit;
35
36 $path = plugin_dir_path(__FILE__);
37 require $path . 'src/Autoloader.php';
38 if(!\RestrictUserAccess\Autoloader::init($path)) {
39 return;
40 }
41
42 RUA_App::instance(); //legacy
43 rua()->init();
44
45 require $path . 'db_updates.php';
46