Vendor Profile Tab

Add hook code to functions.php file in child theme

1: Profile tab

Member can't upgrade to vendor: by adding bellow code to functions.php file in child theme

add_filter( 'el_is_update_vendor_role', '__return_false' );

2: Bank tab

a) remove "Your bank account"

add_filter( 'el_profile_show_bank_info', '__return_false' );

b) Remove "Your paypal account"

add_filter( 'el_profile_show_paypal', '__return_false' );

c) Remove "Your stripe Account"

add_filter( 'el_profile_show_stripe', '__return_false' );

d) Remove "Bank" tab in My profile of vendor

add_filter( 'el_profile_show_bank', '__return_false' );

Last updated