Modify users drop-down top menu
top user menu.png
Hi,
I'd need to add more items (links) to the users drop-down top menu, so to facilitate user navigation after login.
I found some relating code in menu.php line 251, but actually I dont know how to modify or add item.
$fields = array(
'listings' => '<li id="menu-item-my-listings"><a href="' . esc_url( CP_DASHBOARD_URL ) . '" class="user-listings"><i class="fa fa-list" aria-hidden="true"></i>' . __( 'Listings', APP_TD ) . '</a></li>',
'profile' => '<li id="menu-item-edit-profile"><a href="' . esc_url( CP_PROFILE_URL ) . '" class="user-edit-profile"><i class="fa fa-user" aria-hidden="true"></i>' . __( 'Edit Profile', APP_TD ) . '</a></li>',
'divider' => '<li class="divider"></li>',
'logout' => '<li id="menu-item-logout"><a href="' . esc_url( wp_logout_url( get_permalink() ) ) . '" class="user-logout"><i class="fa fa-sign-out" aria-hidden="true"></i>' . __( 'Log out', APP_TD ) . '</a></li>',
'profile' => '<li id="menu-item-edit-profile"><a href="' . esc_url( CP_PROFILE_URL ) . '" class="user-edit-profile"><i class="fa fa-user" aria-hidden="true"></i>' . __( 'Edit Profile', APP_TD ) . '</a></li>',
Please help