apply_filters ( 'jetpack_relatedposts_filter_post_formats', array $args[’post_formats’], string $post_id )

Filter the Post Formats where we search Related Posts.

Source file: modules/related-posts/jetpack-related-posts.php

View in GitHub



(array) Array of Post Formats.


(string) Post ID of the post for which we are retrieving Related Posts.


Since: Jetpack 3.3.0

Have a question?

Comments are closed for this article, but we're still here to help! Visit the support forum and we'll be happy to answer any questions.

View support forum