-
Notifications
You must be signed in to change notification settings - Fork 0
/
_SDStudio___MailRU.php
24 lines (21 loc) · 1.07 KB
/
_SDStudio___MailRU.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
/**
* REDUX - Захват опций темы
*/
$redux = get_option( 'redux_sds_options_and_settings' );
global $enable_header_code_mailru_tag_sds_options_and_settings;
$enable_header_code_mailru_tag_sds_options_and_settings = $redux['enable_header_code_mailru_tag_sds-options-and-settings'];
global $CODE_enable_mailru_tag_sds_options_and_settings;
$CODE_enable_mailru_tag_sds_options_and_settings = $redux['CODE_enable_mailru_tag_sds-options-and-settings'];
if ($enable_header_code_mailru_tag_sds_options_and_settings == 1 ) {
// $Yandex_MetaTag = "<meta name=\"yandex-verification\" content=\"".$CODE__enable_yandex_code_sds_options_and_settings."\" />";
// dd($Yandex_MetaTag);
function SDStudio_add_MailRU_meta() {
global $CODE_enable_mailru_tag_sds_options_and_settings;
echo "\n";?>
<!-- SDStudio Options and Setting - Mail.ru META -->
<meta name="wmail-verification" content="<?php echo $CODE_enable_mailru_tag_sds_options_and_settings;?>" />
<?php
}
add_action( 'wp_head', 'SDStudio_add_MailRU_meta' );
}