function theme_simplemeta_meta_description in Simple Meta 7
Same name and namespace in other branches
- 6.2 simplemeta.theme.inc \theme_simplemeta_meta_description()
Theme meta description for output in the page's head.
File
- ./
simplemeta.theme.inc, line 55 - Theming
Code
function theme_simplemeta_meta_description($vars) {
$meta = $vars['meta'];
if (!empty($meta->data['description'])) {
return '<meta name="description" content="' . check_plain(trim(strip_tags(decode_entities($meta->data['description'])))) . '" />';
}
return '';
}