skip to Main Content

Hide enquiry button when product is on stock – Woocommerce

How can I hide a specific button, based on the stock status of my product? The plugin is creating this class: function wdm_pefree_init() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid if ( ! class_exists( 'Product_Enquiry_For_Woocommerce', false ) ) { include_once WDM_PE_PLUGIN_PATH . '/includes/class-product-enquiry-for-woocommerce.php';…

VIEW QUESTION
Back To Top
Search