We should not use _deprecate_function() as it's a WordPress core private function. We should create our own deprecate functions, but that's for another ticket.

For now, `@deprecated` doc tag would be good enough.