Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Removing some of auction fields
- This topic has 0 replies, 1 voice, and was last updated 4 years, 6 months ago by admin-6781.
- AuthorPosts
- May 6, 2020 at 5:07 pm #127443admin-6781Participant
Hi I am trying to remove some of auctions fields as I dont want the to be available
i put this code
add_filter( ‘wcfm_product_manage_wcsauction_fields’, function( $auction_fileds, $product_id ) {
$auction_fileds = wcfm_hide_field( ‘_yith_check_time_for_overtime_option wcfm_title auction’, $auction_fileds );
$auction_fileds = wcfm_hide_field( ‘_yith_overtime_option wcfm_title auction’, $auction_fileds );
$auction_fileds = wcfm_hide_field( ‘_yith_wcact_auction_automatic_reschedule wcfm_title auction’, $auction_fileds );
$auction_fileds = wcfm_hide_field( ‘_yith_wcact_automatic_reschedule_auction_unit wcfm_title auction’, $auction_fileds );
$auction_fileds = wcfm_hide_field( ‘_yith_wcact_overtime_checkbox wcfm_title auction’, $auction_fileds );
return $auction_fileds;
} );But didn’t work.
any one can help me please
- AuthorPosts
- You must be logged in to reply to this topic.