19 lines
496 B
PHP
19 lines
496 B
PHP
<?php
|
|
|
|
add_settings_section(
|
|
'custom_settings_section',
|
|
__('Calendar settings', BDP_LV_PLUGIN_SLUG),
|
|
'custom_settings_section_callback',
|
|
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),
|
|
'_kompass_limit_logins_settings_callback',
|
|
$seo_settings_page,
|
|
'custom_settings_section',
|
|
['setting' => 'bdp_calendar_source_url', 'style' => 'width: 1024px']);
|