Filter Elasticsearch options used to calculate Related Posts.
Parameters
- $filters
array
Array of Elasticsearch filters based on the post_id and args.
- $post_id
string
Post ID of the post for which we are retrieving Related Posts.
Changelog
- Introduced in Jetpack 2.8.0