Yes, correct.
I would say 90-95% of the events have a "regular" World Championships, some of them held annually, some bi-annually, some even just once in the Olympic quadriennium (Football, Field Hockey, Equestrian). So the priority is on the "regular" World Championships, Equestrian will have World Championships in 2026 so in 2025 and 2027 no World Championships will be counted for that sport, and the medals won at the 2026 World Championships will not "expire" before the Olympics. Other sports like Athletics and Swimming have World Championships held bi-annually, so there are World Championships in 2025, no World Championships in 2026, and then again in 2027 which will "overwrite" the 2025 World Championships results (medals will be just added in the table "2024-2028 quadriennium World Championships medal count, but will be overwritten in the "Latest World Championships medal count").
Tennis and Golf must be treaten as "exceptions" because of course there are no proper World Championships. So the best solution I found is to count the year-end rankings and assign medals according to them. This will happen at the end of each year, because there would be no reasons in counting them only in some years and not in others.
There are some other sports with some "exceptions", like for example Triathlon World Championships are based on a series of races contested during the season and not only on the final one, because the "World Champion" title is won by the athlete who wins the series ranking, and it would be weird if we considered a different results. Artistic Swimming also is contested in a very different format at WChs and the Olympics, you can read in this thread how we decided to assign the medals in our table.
The general rule is that every single medal event of the following Olympic Games needs to be counted at least once during the Olympic quadriennium, it could be one (Football, Equestrian etc.), two (Athletics, Swimming etc.), three (Badminton, Fencing and all other sports where World Championships are held annually) or even four (Tennis, Golf, Road Cycling which has World Championships after the Olympics even in Olympic years, etc).
You can find a complete list of "exceptions" for sports with a different system in each year's medal count page, for example here is the 2025 one. (look for the second table of the page after the calendar).