Files
plugin-wl-srm/wl-srm.php
T
2023-04-10 12:42:23 +03:00

40 lines
835 B
PHP

<?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';
}