No, that only applies to Machin portrait definitives like these:
It is a bit confusing and there is still a small amount of disagreement about exactly which stamps are getting invalidated but the stamps in the grey area are very niche. I can guarantee what I sell will be valid after July
Royal Mail have really made a headache for themselves with this scheme. The amount of confusion and misinformation is crazy.
Various media outlets try different terms to define the stamps that will no longer be valid
MoneySavingExpert uses "1st and 2nd class stamps" but there are commemorative 1st and 2nd that will still be valid so that's misleading.
Many places say "non-barcoded stamps" but that would include commemoratives as well.
Some use the term "traditional" but there are commemorative stamps going back to Queen Victoria which are no longer valid, and by all definitions commemorative stamps are just as "traditional" as definitive stamps.
Some use the term "everyday", but I use commemorative stamps "every day", and commemoratives are just as common as definitive so that is not a helpful or clarifying term.
This is a good guide to go by https://superlucky.me/which-stamps-are-still-ok-to-use/ . There is still confusion about the "country definitives" - that is small stamps with patterns and decorations relating to the four nations of UK and feature the small Gillick profile rather than the Machin profile. While these are "definitive" in name, they are commemorative in nature. Some state these WILL still be valid, the following site says they will NOT. Royal Mail have not been specific about this but have said they are valid for swapping out (which is not the same as saying they will be invalid for use as postage). Safer not to use these after July.