You are here

function _nodewords_get_viewable_tags in Nodewords: D6 Meta Tags 5

Return a list of viewable output tags

1 call to _nodewords_get_viewable_tags()
_nodewords_filter_viewable in ./nodewords.module
Remove the meta tags from $tags that the user chose not to show.

File

./nodewords.module, line 809
Assign META tags to nodes, vocabularies, terms and pages.

Code

function _nodewords_get_viewable_tags($where = 'head') {
  $settings = _nodewords_get_settings();
  $output = array();
  foreach ($settings[$where] as $name => $viewable) {
    if ($viewable) {
      $output[] = $name;
    }
  }
  return $output;
}