function _nodewords_filter_viewable in Nodewords: D6 Meta Tags 5
Remove the meta tags from $tags that the user chose not to show.
1 call to _nodewords_filter_viewable()
- _nodewords_prepare in ./
nodewords.module - Prepare the tags so they are ready for output. This includes:
File
- ./
nodewords.module, line 855 - Assign META tags to nodes, vocabularies, terms and pages.
Code
function _nodewords_filter_viewable($tags, $where = 'head') {
$output = array();
if (is_array($tags)) {
$viewables = _nodewords_get_viewable_tags($where);
foreach ($viewables as $name) {
if (isset($tags[$name])) {
$output[$name] = $tags[$name];
}
}
}
return $output;
}