/** * Out of stock message for product variations. * @param string $text default message. * @return string */ function puri_out_of_stock_message( $text ){ $text = 'המוצר אזל מהמלאי, לכניסה לרשימת המתנה, אנא צרו קשר!'; return $text; } add_filter( 'woocommerce_out_of_stock_message', 'puri_out_of_stock_message', 999);
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter