<?php
add_action( 'wp_head', 'true_print_description' );
function true_print_description() {
if( ! is_single() ) {
return;
}
$seo_description = get_post_meta( get_the_ID(), 'otzyvy-reap_copy', $single = true );
if( $seo_description ) {
echo '<meta name="description" value="' . esc_attr( $seo_description ) . '" />';
}
}
?>