Hi,
Are you using WCFM Ultimate or only WCFM Free version?
If you are using WCFM Ultimate then you disable thise easily from WCFM Capability setting.
If no, then please let me know, will give you code snippet.
Thank You
Hi,
No I’m using the WCFM free version.
Regards,
Arjun
Hi,
No issues, please add these codes to your site –
add_filter( 'wcfm_is_allow_store_visibility', '__return_false' );
add_filter( 'wcfm_is_allow_store_address', '__return_false' );
add_filter( 'wcfm_is_allow_vseo_settings', '__return_false' );
add_filter( 'wcfm_is_allow_customer_support_settings', '__return_false' );
add_filter( 'wcfm_marketplace_settings_fields_billing_bank', function( $bank_fields, $vendor_id ) {
$bank_fields = wcfm_hide_field( 'routing_number', $bank_fields );
$bank_fields = wcfm_hide_field( 'iban', $bank_fields );
$bank_fields = wcfm_hide_field( 'swift', $bank_fields );
return $bank_fields;
}, 50, 2 );
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/
Thank You
Thanks for the snippet 🙂 It removed the fields. If it’s not too much, could you also help me remove the Address, Social and Membership fields from the Profile page for Vendors? Also, the Membership and Social buttons at the top of the Settings page.
Here are screenshots of the ones I would like to remove:
View post on imgur.com
View post on imgur.com
Thanks and Regards,
Arjun
Hi,
Please add these to your site –
add_filter( 'wcfm_is_allow_address_profile', '__return_false' );
add_filter( 'wcfm_is_allow_social_profile', '__return_false' );
add_filter( 'wcfm_is_allow_vendor_membership', '__return_false' );
Thank You
Hello support
I have installed codesnippets.
I am trying to hide all payment infor for the vendor
In codesnipets there are a few examples.
Which one do i use or do i create a new snippet
Thank you