Filter the comment types that are allowed to be returned.
Parameters
- $types
array Array of comment types.
Changelog
- Introduced in Jetpack 14.2
jetpack_json_api_comment_typesFilter the comment types that are allowed to be returned.
arrayArray of comment types.