apply_filters ( 'jetpack_relatedposts_filter_has_terms', array $args[’has_terms’], string $post_id )

Filter the terms used to search for Related Posts.

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

View in GitHub



(array) Array of terms associated to the Related Posts.


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


Since: Jetpack 2.8.0

Have a question about this article?

Comments are currently closed for this article, but rest assured we're still here to help! Send us a message and we'll get back to you.

Contact us