How to link up a view created page using hook_menu I have created a page using view and defined a path for the view. I want to add a tab using MENU_LOCAL_TASK from hook_menu() How can I add a link to the view for the page callback?

EDIT

I have tried this but does not work.

$items['user/%/my-fees'] = array(
        'title' =&gt; 'My Fees',
        'description' =&gt; 'Student Payment Schedule ',
        'page callback' =&gt; 'views_embed_view',
        'page arguments' =&gt; array('payment_schedules', 'user_fees', 1),
        'type' =&gt; MENU_LOCAL_TASK,
    );
hook_menu() is not required. We can set the tab, or link, in the view itself under page settings -> Menu.

I have used the menu options of the view to add the item in my user navigation.