I'd like to know how can we add a new item in the user account page ?
I know that we must trigger the EVENT_MENU_ACCOUNT, but I don't know the exact syntax for the output function. This should be an array...
Code: Select all
function hooks() {
return array(
"EVENT_MENU_ACCOUNT" => "print_menu",
);
}
function print_menu() {
# return array(????);
}