woocommerce_product_stock_status_use_radio
woocommerce_product_stock_status_use_radio
Appears in: woocommerce.7.6.0, woocommerce.7.6.1, woocommerce.7.7.0, woocommerce.7.7.1, woocommerce.7.8.1, woocommerce.7.9.0, woocommerce.8.0.3, woocommerce.8.1.1, woocommerce.8.2.1, woocommerce.8.2.2, woocommerce.8.3.1, woocommerce.8.4.0, woocommerce.8.5.1, woocommerce.8.5.2, woocommerce.8.6.0, woocommerce.8.6.1, woocommerce.8.7.0, woocommerce.8.8.3, woocommerce.8.9.2, woocommerce.8.9.3, woocommerce.9.0.2, woocommerce.9.1.2, woocommerce.9.1.4, woocommerce.9.2.2, woocommerce.9.2.3
Hook Type: filter
Displaying hooks found in version: woocommerce.9.2.3apply_filters('woocommerce_product_stock_status_use_radio') is found 1 times:
- /includes/admin/meta-boxes/views/html-product-data-inventory.php line 164
* @since 7.6.0 * * @param bool If false, the "Stock status" will be shown as a select. Default: it will use radio buttons. */ if ( apply_filters( 'woocommerce_product_stock_status_use_radio', $stock_status_count <= 3 && $stock_status_count >= 1 ) ) { woocommerce_wp_radio( $stock_status_args ); } else { woocommerce_wp_select( $stock_status_args ); } do_action( 'woocommerce_product_options_stock_status' );