How to subdivide on one axis in Blender 3.0?

:thinking:I have found some approaches like “press W”,but it seems that things have changed in 3.0.

To subdivide a specific edge, select the edge and right click > subdivide.