Added multisite support
This commit is contained in:
@ -1,8 +1,5 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
|
||||
function _kompass_limit_logins_settings_radio_callback(array $args)
|
||||
{
|
||||
kompass_print_radio($args['setting']);
|
||||
@ -11,8 +8,11 @@ function _kompass_limit_logins_settings_checkbox_callback(array $args) {
|
||||
kompass_print_checkbox($args['setting']);
|
||||
}
|
||||
|
||||
|
||||
if (!defined('SECURE_AUTH_COOKIE') && !defined('AUTH_COOKIE')) {
|
||||
return;
|
||||
}
|
||||
bdp_kompass_load_plugin_textdomain();
|
||||
|
||||
add_settings_section(
|
||||
'custom_settings_section',
|
||||
__('Options', BDP_LV_PLUGIN_SLUG),
|
||||
|
@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
if (!defined('SECURE_AUTH_COOKIE') && !defined('AUTH_COOKIE')) {
|
||||
return;
|
||||
}
|
||||
add_settings_section(
|
||||
'custom_settings_section',
|
||||
__('Calendar settings', BDP_LV_PLUGIN_SLUG),
|
||||
|
@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
if (!defined('SECURE_AUTH_COOKIE') && !defined('AUTH_COOKIE')) {
|
||||
return;
|
||||
}
|
||||
|
||||
add_settings_section(
|
||||
'custom_settings_section',
|
||||
|
Reference in New Issue
Block a user