YourTheme_links doesn't work on sub theme I have tried the way described in http://api.drupal.org/api/drupal/includes%21theme.inc/function/theme_link/7#comment-24463

But as it seems it works on the main theme but not on a subtheme.

function MYTHEME_link($variables) {
    print_r($variables);
    die;
}


Yeilds no result.

Applied on Zen theme which results the menus.

But on a subtheme it shows nothing. Anyone knows why?
I believe it is a typo, the function should be MYTHEME_link and not MYTHEME_links.Possible other ways to identify is use theme engine phptemplate_link instead of your theme name.

Try clearing your theme registry. Also Check whether you have spelled your theme machine name correctly. 

function MYTHEME_link($variables) {
    print_r($variables);
    die;
}