Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM › WCFM Product Upload , Hide 'Schedule' and 'Choose from the most used tags'
- This topic has 1 reply, 2 voices, and was last updated 5 years, 6 months ago by WCFM Forum.
Viewing 1 reply thread
- AuthorPosts
- May 5, 2019 at 6:55 pm #60760slipksizzParticipant
Hello WCLovers,
How to make possible to hide the ‘Schedule’ option and ‘Choose from the most used tags’ ?
Regards.
- May 5, 2019 at 8:58 pm #60786WCFM ForumMember
Hi,
Please use this code snnipets –
add_filter( 'wcfm_product_simple_fields_tag', function( $tag_fields, $product_id, $product_type ) { if( isset( $tag_fields['product_tags'] ) ) { $tag_fields['product_tags']['desc_class'] = 'wcfm_custom_hide'; } return $tag_fields; }, 50, 3 ); add_filter( 'wcfm_product_manage_fields_pricing', function( $pricing_fields, $product_id, $product_type ) { if( isset( $pricing_fields['sale_price'] ) ) { $pricing_fields['sale_price']['desc_class'] = 'wcfm_custom_hide'; } return $pricing_fields; }, 50, 3 );
Thank you
- AuthorPosts
Viewing 1 reply thread
- The topic ‘WCFM Product Upload , Hide 'Schedule' and 'Choose from the most used tags'’ is closed to new replies.