2024-03-16 16:58:00 +01:00
|
|
|
<?php
|
2024-08-17 13:55:15 +02:00
|
|
|
if (!defined('SECURE_AUTH_COOKIE') && !defined('AUTH_COOKIE')) {
|
|
|
|
return;
|
|
|
|
}
|
2024-03-16 16:58:00 +01:00
|
|
|
add_settings_section(
|
|
|
|
'custom_settings_section',
|
|
|
|
__('Calendar settings', BDP_LV_PLUGIN_SLUG),
|
2024-03-23 20:46:44 +01:00
|
|
|
'kompass_prepare_form',
|
2024-03-16 16:58:00 +01:00
|
|
|
BDP_LV_PLUGIN_SLUG . '-calendar-settings'
|
|
|
|
);
|
|
|
|
|
|
|
|
$seo_settings_page = BDP_LV_PLUGIN_SLUG . '-calendar-settings';
|
|
|
|
|
|
|
|
add_settings_field(
|
|
|
|
'kompass_cal_1',
|
|
|
|
__('Calendar URL', BDP_LV_PLUGIN_SLUG),
|
2024-03-23 20:46:44 +01:00
|
|
|
'kompass_print_textbox',
|
2024-03-16 16:58:00 +01:00
|
|
|
$seo_settings_page,
|
|
|
|
'custom_settings_section',
|
|
|
|
['setting' => 'bdp_calendar_source_url', 'style' => 'width: 1024px']);
|