Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Hide in Store Manager
- This topic has 4 replies, 2 voices, and was last updated 4 years, 7 months ago by contact8732.
Viewing 4 reply threads
- AuthorPosts
- April 25, 2020 at 2:23 pm #122877contact8732Participant
Hi,
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 #122882Sarmistha ChakrabortyMember
Hello,
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 #122883contact8732Participant
Thank 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 #122888Sarmistha ChakrabortyMember
Hi,
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 #122892contact8732Participant
thank you 🙂
- AuthorPosts
Viewing 4 reply threads
- You must be logged in to reply to this topic.