VIP Legacy Related Posts (HTML formatted results)

Don’t use for new projects, just use WPCOM_RelatedPosts directly, since it has hooks like jetpack_relatedposts_filter_args, jetpack_relatedposts_filter_filters


Name Type Description
$max_num int Optional. Maximum number of results you want (default: 5).
$additional_stopwords array No longer used, we leave the stopwords magic to ES which knows more about word frequencies across articles.
$exclude_own_titles bool No longer used.

Return Value

string: Returns an HTML unordered list of related posts from the same blog.

Ready to get started?

Tell us about your needs

Let us lead the way. We’ll help you select a top tier development partner. We’ll train your developers, operations, infrastructure, and editorial teams. We’ll coarchitect your deployment processes. We will provide live support for peak events. We’ll help your people avoid dark alleys and blind corners, and reduce wasted cycles.