Initial commit

This commit is contained in:
Fill committed 2023-04-10 12:42:23 +03:00
1 parent bd472155ce
commit a1ea747e34
8 files changed
+5167 -1

No files matched your search

+40
View File
@@ -0,0 +1,40 @@
<?php
/**
* Plugin Name: WL Simple Role Manager
* Description: Simple plugin to manage the roles ins WordPress
* Plugin URI: https://web-lab.solutions
* Author: Ivan Filipov ( Web Lab )
* Version: 1.0.0
* Author URI: ttps://web-lab.solutions
*
* Text Domain: wlsrm
*
* @package wlsrm
* @category roles
*
*/
if (!defined('ABSPATH')) {
exit; // Exit if accessed directly.
}
define( 'WLSRM_PATH', plugin_dir_path( __FILE__ ) );
define( 'WLSRM_URL', plugin_dir_url( __FILE__ ) );
add_action('plugins_loaded', 'wlsrm_load_plugin_textdomain');
/**
* Load wlsrm textdomain.
*
* Load gettext translate for wlsrm text domain.
*
* @since 1.0.0
*
* @return void
*/
function wlsrm_load_plugin_textdomain() {
load_plugin_textdomain('wlsrm');
}
if (is_admin()) {
include 'wlsrm.php';
}