How to view wireframe shading in new blender releases for texture paint mode?

While watching the course on Shading the Pancake Hobo, I was told that pressing "face selection masking" would make a wireframe appear that I could paint over. The photo below shows what I meant. However, it appears that this functionality has flipped with newer blender versions. Now, I can only see the wireframe if the mesh ISN'T selected in edit mode before painting, which of course means that I can't actually paint. Is there still a way to do this? I tried checking "wire" in object properties but that only seems to work in object mode.