Filter the Post Formats where we search Related Posts.
Parameters
- $args
array ['post_formats'] Array of Post Formats.
- $post_id
string Post ID of the post for which we are retrieving Related Posts.
Changelog
- Introduced in Jetpack 3.3.0
jetpack_relatedposts_filter_post_formatsFilter the Post Formats where we search Related Posts.
array['post_formats'] Array of Post Formats.
stringPost ID of the post for which we are retrieving Related Posts.