It’s still there, although there’s a loophole of course.
4.5.4:
Push Notifications should not be used for promotions or direct marketing purposes unless customers have explicitly opted in to receive them via consent language displayed in your app’s UI, and you provide a method in your app for a user to opt out from receiving such messages.
The “explicit opt-in” could easily be language hidden in a massive ToS that nobody reads. So I guess I wish Apple would do away with that entirely and start enforcing it.
I keep thinking back to years ago when someone at work tried to tell me this guy was good and I could just tell on vibes alone to stay clear.