`pass_through_pager()` should be a standalone function that's used by both `wp help` and `wp doc`.