-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.php
33 lines (27 loc) · 855 Bytes
/
plugin.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/**
* Plugin Name: User Approval
* Plugin URI: https://github.com/rahulsprajapati/user-approval
* Description: Approval/block user account for new registered users.
* Author: Rahul Prajapati
* Version: 0.0.2
* Author URI: https://github.com/rahulsprajapati
* License: GPL2+
* Text Domain: user-approval
* Domain Path: /languages
*
* @package user-approval
*/
namespace User_Approval;
const VERSION = '0.0.2';
require_once __DIR__ . '/inc/namespace.php';
bootstrap();
// Add user registration checks.
require_once __DIR__ . '/inc/registration.php';
Registration\bootstrap();
// User management from WP admin to approve/block users.
require_once __DIR__ . '/inc/management.php';
Management\bootstrap();
// User login authentication for approved/blocked user.
require_once __DIR__ . '/inc/authenticate.php';
Authenticate\bootstrap();