'google-site-verification', 'bing' => 'msvalidate.01', 'yandex' => 'yandex-verification', 'baidu' => 'baidu-site-verification', 'pinterest' => 'p:domain_verify', ); foreach ( $tag_map as $key => $meta_name ) { $value = isset( $settings[ $key ] ) ? trim( (string) $settings[ $key ] ) : ''; if ( '' === $value ) { continue; } printf( "\n", esc_attr( $meta_name ), esc_attr( $value ) ); } } }