2024-03-16 14:21:57 +01:00
|
|
|
<?php
|
2024-08-17 13:55:15 +02:00
|
|
|
if (!defined('SECURE_AUTH_COOKIE') && !defined('AUTH_COOKIE')) {
|
|
|
|
return;
|
|
|
|
}
|
2024-03-16 14:21:57 +01:00
|
|
|
|
|
|
|
add_settings_section(
|
|
|
|
'custom_settings_section',
|
|
|
|
__('SEO-Options', BDP_LV_PLUGIN_SLUG),
|
2024-03-23 20:46:44 +01:00
|
|
|
'kompass_prepare_form',
|
2024-03-16 14:21:57 +01:00
|
|
|
BDP_LV_PLUGIN_SLUG . '-seo-settings'
|
|
|
|
);
|
|
|
|
|
|
|
|
$seo_settings_page = BDP_LV_PLUGIN_SLUG . '-seo-settings';
|
|
|
|
|
|
|
|
add_settings_field(
|
|
|
|
'kompass_seo_1',
|
|
|
|
__('Google Site verification', BDP_LV_PLUGIN_SLUG),
|
2024-03-23 20:46:44 +01:00
|
|
|
'kompass_print_textbox',
|
2024-03-16 14:21:57 +01:00
|
|
|
$seo_settings_page,
|
|
|
|
'custom_settings_section',
|
|
|
|
['setting' => 'kompass_seo_google_verification', 'style' => 'width: 500px']);
|
|
|
|
|
|
|
|
|
|
|
|
add_settings_field(
|
|
|
|
'kompass_seo_2',
|
|
|
|
__('Bing Site verification', BDP_LV_PLUGIN_SLUG),
|
2024-03-23 20:46:44 +01:00
|
|
|
'kompass_print_textbox',
|
2024-03-16 14:21:57 +01:00
|
|
|
$seo_settings_page,
|
|
|
|
'custom_settings_section',
|
|
|
|
['setting' => 'kompass_seo_bing_verification', 'style' => 'width: 500px']);
|