For Developers

Developer Filters Included in Product Condition for WooCommerce

There are a number of developer filters included in Product Condition for WooCommerce in order to let you customize the plugin for your specific use case.

apply_filters( 'hulk_woo_pcm_conditions', $conditions )
  • hulk_pcwc_conditions: return array

    • The filter accepts one argument, $conditions, which is an array of product conditions.

apply_filters('hulk_woo_pcm_label', esc_attr__( 'Product Condition:', 'product-condition-manager-for-woocommerce' ))
  • hulk_pcwc_label: return string

    • This filter accepts once argument, $label, Is the text that is shown before the product condition on the product page. Default is Product Condition:

Last updated