Reuse existing rest_api_allowed_post_types filter