I am using hook_theme_registry_alter()
in my custom module for overriding the theme function.
I have done something like this in my module file aml.module
function aml_theme_registry_alter (&$theme_registry) {
$theme_registry['aml']['function'] = 'theme_menu_item_link';
dsm($theme_registry);
}
function theme_menu_item_link () {
drupal_set_message("hello");
}
I don't know how and where to implement this function theme_menu_item_link