Snippets: Change WooCommerce “Out Of Stock” Text

function my_woo_outofstock_text( $text ) {
	$text = __( 'MY CUSTOM TEXT', 'wpex' );
	return $text;
}
add_filter( 'wpex_woo_outofstock_text', 'my_woo_outofstock_text', 20 );
All PHP snippets should be added via a child theme's functions.php file.