Vendor Dashboard

Add hook code to functions.php file in child theme

1: Choose Default Menu in Vendor Dashboard

Add bellow code to functions.php file in child theme

- Choose profile tab
add_filter( 'el_manage_vendor_default_page', function(){ return 'profile'; } );
- Choose listing tab
add_filter( 'el_manage_vendor_default_page', function(){ return 'listing'; } );
- Choose package tab
add_filter( 'el_manage_vendor_default_page', function(){ return 'package'; } );
- Choose my booking tab
add_filter( 'el_manage_vendor_default_page', function(){ return 'mybookings'; } );
- Choose Create event tab
add_filter( 'el_manage_vendor_default_page', function(){ return 'create-event'; } );
- Choose my wishlist
add_filter( 'el_manage_vendor_default_page', function(){ return 'wishlist'; } );

2: Genreal

2.1 Remove "General" Menu in Sidebar

add_filter( 'el_manage_vendor_show_general', '__return_false' );

2.2 Customize Template

Copy file
plugins/eventlist/templates/vendor/general.php
to
themes/meup-child/eventlist/vendor/general.php

3: My Listings

3.1 Remove "My Listings" Menu in Sidebar

add_filter( 'el_manage_vendor_show_my_listing', '__return_false' );

3.2 Customize Template

Copy file
plugins/eventlist/templates/vendor/events.php
to
themes/meup-child/eventlist/vendor/events.php

4: Create Event

4.1 Remove "Create Event" Menu in Sidebar

add_filter( 'el_manage_vendor_show_create_event', '__return_false' );

4.2 Customize Template

Copy file
plugins/eventlist/templates/vendor/edit-event.php
to
themes/meup-child/eventlist/vendor/edit-event.php

5: My Bookings

5.1 Remove "My Bookings" Menu in Sidebar

add_filter( 'el_manage_vendor_show_mybooking', '__return_false' );

5.2 Customize Template

Copy file
plugins/eventlist/templates/vendor/mybookings.php
to
themes/meup-child/eventlist/vendor/mybookings.php

6: Tickets Received

6.1 Remove "Tickets Received" Menu in Sidebar

Go to Events >> Settings >> Ticket Transfer >> Uncheck "Allow Transfer Tickets" setting.

6.2 Customize Template

Copy file
plugins/eventlist/templates/vendor/tickets_received.php
to
themes/meup-child/eventlist/vendor/tickets_received.php

7: Package

7.1 Remove "Package" Menu in Sidebar

Go to Events >> Settings >> Package >> Checked "Hide Package" setting.

7.2 Customize Template

Copy file
plugins/eventlist/templates/vendor/package.php
to
themes/meup-child/eventlist/vendor/package.php

8: Wallet

8.1 Remove "Wallet" Menu in Sidebar

Go to Events >> Settings >> Tax & Profit >> Manage Payout by >> Closed Event

8.2 Customize Template

Copy file
plugins/eventlist/templates/vendor/wallet.php
to
themes/meup-child/eventlist/vendor/wallet.php

9: My Wishlist

9.1 Remove "My Wishlist" Menu in Sidebar

add_filter( 'el_manage_vendor_show_wishlist', '__return_false' );

9.2 Customize Template

Copy file
plugins/eventlist/templates/vendor/wishlist.php
to
themes/meup-child/eventlist/vendor/wishlist.php

10: My Profile

10.1 Remove "My Profile" Menu in Sidebar

You have to customize it in child theme

Copy file
plugins/eventlist/templates/vendor/sidebar.php
to
themes/meup-child/eventlist/vendor/sidebar.php

10.2 Customize Template

Copy file
plugins/eventlist/templates/vendor/profile.php
to
themes/meup-child/eventlist/vendor/profile.php

11: Logout

11.1 Remove "Logout" Menu in Sidebar

You have to customize it in child theme

Copy file
plugins/eventlist/templates/vendor/sidebar.php
to
themes/meup-child/eventlist/vendor/sidebar.php

Last updated

Was this helpful?