Snippets: Change WooCommerce “Out Of Stock” Text

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