You are here

function simplemeta_page_alter in Simple Meta 7.2

Same name and namespace in other branches
  1. 7 simplemeta.module \simplemeta_page_alter()

Implements hook_page_alter().

File

./simplemeta.module, line 167
SimpleMeta module.

Code

function simplemeta_page_alter(&$page) {
  global $language;
  if ($meta = simplemeta_get_page_meta(current_path(), $language->language)) {
    $content = $meta->content;
    unset($content['title']);
    $page['page_bottom']['simplemeta'] = $content;
  }
}