legacy_taxonomy_feed

Definition

legacy_taxonomy_feed($operation = 'or', $str_tids = '')
modules/legacy.module, line 78

Description

Menu callback; redirects users to new taxonomy feed paths.

Code

<?php
function legacy_taxonomy_feed($operation = 'or', $str_tids = '') {
  if ($operation == 'or') {
    $str_tids = str_replace(',', '+', $str_tids);
  }
  drupal_goto('taxonomy/term/'. $str_tids .'/0/feed');
}
?>
 
 

Drupal is a registered trademark of Dries Buytaert.