function fed_frontend_main_menu_fn( $custom ) {
$custom[‘custom’] = array(
‘id’ => 99, //Some Random number
‘menu_slug’ => ‘custom’, //Menu Slug
‘menu’ => ‘Custom Menu’, //Menu Name
‘menu_type’ => ‘custom’,//Menu type, please don’t change it until you are aware of it
‘menu_order’ => 10, //Menu Order
‘menu_image_id’ => ‘fa fa-address-book’, //Font Awesome Icon
‘show_user_profile’ => ‘Enable’, //Show User Profile
‘extra’ => ‘yes’, // Please don’t change this too
‘user_role’ => serialize( array( ‘administrator’, ‘subscriber’ ) ), // Allow this user role to access that menu
‘extended’ => ”, // Don’t change until you are aware of this
‘menu_key’ => ”, // Don’t change until you are aware of this
‘menu_value’ => ” // Don’t change until you are aware of this
);
note:- ‘user_role’ => serialize( array( ‘administrator’, ‘subscriber’ ) ), // Allow this user role to access that menu{not working}