Added new user roles

This commit is contained in:
2024-03-16 16:35:18 +01:00
parent bee1f6c96c
commit d2c74a158a
5 changed files with 114 additions and 3 deletions

View File

@ -13,8 +13,10 @@ require_once dirname(__FILE__) . '/update.class.php';
require_once BDP_LV_PLUGIN_DIR . 'includes/FileAccess.class.php';
require_once BDP_LV_PLUGIN_DIR . 'includes/WpConfigEditor.class.php';
require_once (BDP_LV_PLUGIN_DIR . '/includes/roles.php');
require_once (BDP_LV_PLUGIN_DIR . '/includes/filters.php');
require_once (BDP_LV_PLUGIN_DIR . '/lib/ics-parser/Event.php');
require_once (BDP_LV_PLUGIN_DIR . '/lib/ics-parser/ICal.php');
@ -37,6 +39,12 @@ function bdp_kompass_load_plugin_textdomain() {
}
function kompass_after_setup_theme()
{
setup_site_roles();
#register_custom_theme_directory();
}
$loginHandler = new LoginHandler();