woocommerce_admin_stock_html, $stock_html, $product
woocommerce_admin_stock_html, $stock_html, $product
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_admin_stock_html, $stock_html, $product') is found 1 times:
- /includes/admin/reports/class-wc-report-stock.php line 122
$stock_html = '<mark class="instock">' . __( 'In stock', 'woocommerce' ) . '</mark>'; } else { $stock_html = '<mark class="outofstock">' . __( 'Out of stock', 'woocommerce' ) . '</mark>'; } echo apply_filters( 'woocommerce_admin_stock_html', $stock_html, $product ); break; case 'stock_level': echo esc_html( $product->get_stock_quantity() ); break;