/** * Automatically insert meta description tag into posts/pages. * * You shouldn't need to use this function nowadays because WordPress.com and Jetpack takes care of this for you. * * @author Thorsten Ott * @deprecated No longer supported since 2.0.0 */ function wpcom_vip_meta_desc() { _deprecated_function(__FUNCTION__, '2.0.0'); $text = wpcom_vip_get_meta_desc(); if (!empty($text)) { echo "\n<meta name=\"description\" content=\"{$text}\" />\n"; } }
/** * Automatically insert meta description tag into posts/pages. * * You shouldn't need to use this function nowadays because WordPress.com and Jetpack takes care of this for you. * * @author Thorsten Ott */ function wpcom_vip_meta_desc() { $text = wpcom_vip_get_meta_desc(); if (!empty($text)) { echo "\n<meta name=\"description\" content=\"{$text}\" />\n"; } }