Support for site verification codes

This commit is contained in:
th.guenther committed 2024-03-16 14:21:57 +01:00
1 parent 96e084e353
commit bee1f6c96c
20 files changed
+271 -61

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
<?php
function kompass_seo_add_verfications() {
$googleVerification = get_option('kompass_seo_google_verification', '');
if ('' !== $googleVerification) {
echo '<meta name="google-site-verification" content="' . $googleVerification . '" />' . "\n";
}
$bingVerification = get_option('kompass_seo_bing_verification', '');
if ('' !== $bingVerification) {
echo '<meta name="msvalidate.01="' . $bingVerification . '" />' . "\n";
}
}