Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ultimate Member - Add menu items in Profile Settings menu
<?php
add_filter("um_profile_edit_menu_items","um_custom_profile_edit_menu_items",10,2);
function um_custom_profile_edit_menu_items( $items, $profile_id ){
$items[ ] = array(
"my_custom_menu_item" => '<a href="http://example.com/" class="real_url">'.__('My Custom Menu Item','ultimatemember').'</a>',
);
return $items;
}
?>
@himanshuahuja96

This comment has been minimized.

Copy link

@himanshuahuja96 himanshuahuja96 commented Aug 14, 2017

@chamapsupertramp , Buddy this snippet is not working at all..For adding menu items in Profile Setting

@champsupertramp

This comment has been minimized.

Copy link
Owner Author

@champsupertramp champsupertramp commented Apr 26, 2020

Hi Everyone,

I'll be sharing some Ultimate Member customizations & tutorials on my website: www.champ.ninja

Subscribe to my newsletter to get the latest tutorials.

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment