add_filter( 'wpex_woo_outofstock_text', function( $text ) { return esc_html__( 'MY CUSTOM TEXT', 'wpex' ); }, 20 );