Is the converse true? No. Every travelling wave has the form f(x±vt), but not every function of x±vt is a travelling wave. A physical wave is a disturbance of a medium, so its displacement must stay finite at every point x and at every instant t (and the disturbance must be a pulse or an oscillation that moves along unchanged in shape). A function of x±vt that becomes infinite or undefined somewhere cannot describe a real displacement.
(a) y=(x−vt)2: at any instant, y grows without limit as ∣x−vt∣ becomes large. The displacement is not finite everywhere, so it cannot represent a travelling wave.
(b) y=log[(x+vt)/x0]: the logarithm is not defined when (x+vt)/x0≤0, and y→−∞ as x+vt→0. It cannot represent a travelling wave.
(c) y=1/(x+vt): y becomes infinite at x=−vt, a point present at every instant. It cannot represent a travelling wave.
Hence none of the three functions represents a travelling wave, although each is a function of x±vt.