menu_alter did not work I try to use menu_alter for changing Delete option in access callback. I clear cache many times but it still not working.
I also tried some solution in this site but still got nothing. Please help me to solve this one.

function manage_child_menu_alter(&amp;$items) {
   $items['comment/%/delete']['access callback'] = 'manage_child_comment_delete_access';
   $items['comment/%/delete']['access arguments'] = array(1);
   dpm($items);
}


Drupal Commons 3.28

Thanks.
This is very common problem. What's your module weight? You can find the value in the table system. Try to change it to something more "heavier".

update DATABASE_NAME.system set weight = '99' WHERE name = "MODULE_NAME";


Standard approach hot to set a modude weight is to declare it in MODULE_NAME.install file:

/**
 * Implements hook_enable()
 */
function MODULE_NAME_enable() {
    db_update('system')
    -&gt;fields(array('weight' =&gt; 99))
    -&gt;condition('type', 'module')
    -&gt;condition('name', 'MODULE_NAME')
    -&gt;execute();
}