I've built a WordPress website where some menu items point to custom post archives.
The issue is that when clicked, they don't receive the usual current-menu-item
classes. Is there any filter or something I can use or should do to make WordPress recognize current custom post archive pages?