WCFM Product Upload , Hide 'Schedule' and 'Choose from the most used tags'

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM WCFM Product Upload , Hide 'Schedule' and 'Choose from the most used tags'

Viewing 1 reply thread
  • Author
    Posts
    • #60760
      slipksizz
      Participant

      Hello WCLovers,

      How to make possible to hide the ‘Schedule’ option and ‘Choose from the most used tags’ ?

      Regards.

    • #60786
      WCFM Forum
      Member

      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

Viewing 1 reply thread
  • The topic ‘WCFM Product Upload , Hide 'Schedule' and 'Choose from the most used tags'’ is closed to new replies.