forked from FloAppsLtd/FloAuth
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfloauth.php
More file actions
executable file
·32 lines (29 loc) · 761 Bytes
/
floauth.php
File metadata and controls
executable file
·32 lines (29 loc) · 761 Bytes
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
<?php
/**
* Plugin Name: FloAuth
* Version: 1.0.6
* Description: FloMembers authentication plugin
* Author: Flo Apps Ltd
* Author URI: https://floapps.com
* Text Domain: floauth
* Domain Path: /languages/
* License: MIT
*
* @package FloAuth
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
/**
* Load plugin textdomain
*
* @return void
*/
function floauth_load_plugin_textdomain() {
load_plugin_textdomain( 'floauth', false, basename( __DIR__ ) . '/languages/' );
}
add_action( 'plugins_loaded', 'floauth_load_plugin_textdomain' );
require_once __DIR__ . '/includes/util.php';
require_once __DIR__ . '/includes/admin.php';
require_once __DIR__ . '/includes/auth.php';
require_once __DIR__ . '/includes/extranet.php';