Best Multi Vendor Marketplace Plugin for WordPress › Forums › WCFM – Ultimate › Hide in Store Manager
- This topic has 4 replies, 2 voices, and was last updated 5 years, 1 month ago by
contact8732.
Viewing 4 reply threads
- AuthorPosts
- April 25, 2020 at 2:23 pm #122877
contact8732
ParticipantHi,
In Store Manager, Store Settings, how hide the following three please?
* Store Banner Type
* Store List Banner Type
* Store List BannerThank you
- April 25, 2020 at 2:49 pm #122882
Sarmistha Chakraborty
MemberHello,
add_filter('wcfm_marketplace_settings_fields_general', 'wcfm_marketplace_settings_fields_general_custom1804', 50, 2 ); function wcfm_marketplace_settings_fields_general_custom1804($general_fields,$vendor_id) { unset($general_fields['banner_type']); unset($general_fields['list_banner_type']); unset($general_fields['list_banner']); return $general_fields; }
Add this code to your child theme’s functions.php
In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/
Thanks.
- April 25, 2020 at 2:55 pm #122883
contact8732
ParticipantThank you – it almost worked, but it still shows Video Banner and Slider and Store List video banner
Attachments:
You must be logged in to view attached files. - April 25, 2020 at 3:12 pm #122888
Sarmistha Chakraborty
MemberHi,
Modify the code,
add_filter('wcfm_marketplace_settings_fields_general', 'wcfm_marketplace_settings_fields_general_custom1804', 50, 2 ); function wcfm_marketplace_settings_fields_general_custom1804($general_fields,$vendor_id) { unset($general_fields['banner_type']); unset($general_fields['banner_slider']); unset($general_fields['banner_video']); unset($general_fields['list_banner_type']); unset($general_fields['list_banner']); unset($general_fields['list_banner_video']); return $general_fields; }
Thanks.
- April 25, 2020 at 3:41 pm #122892
contact8732
Participantthank you 🙂
- AuthorPosts
Viewing 4 reply threads
- You must be logged in to reply to this topic.