I’ve used this plugin, may be worth you investigating
Hi @roufamatic,
You can add items programatically to a menu with this filter in WP :
Menu items can be added manually by applying filters:
wp_nav_menu_{$menu->slug}_items
Example where ‘main’ is the main menu slug in Customizr, is_member () has to replaced by the Memberships Pro function to test if user is a member :
add_filter ('wp_nav_menu_main_items' , 'add_my_custom_item' );
function add_my_custom_item($items) {
if ( ! is_member() )
return $items;
return $items . '<li class="admin-menu-item"><a href="#custom URL" title="A link title">A menu title</a>';
}
Hope this helps!