Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter('wcfm_marketplace_settings_fields_general', function($fields) {
- if (wcfm_is_vendor() && $fields['store_email']) {
- $fields['store_email']['attributes']['disabled'] = 'disabled';
- }
- return $fields;
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement