wpcom_vip_get_flaptor_related_posts

VIP Legacy Related Posts (get post_id, title, url)

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

For backwards compatability, this function finds related posts on the current blog using Elasticsearch, then converts the results to match the original sphere results format.

Parameters

Name Type Description
$max_num int Optional. Maximum number of results you want (default: 5).
$additional_stopwords array No longer used.
$exclude_own_titles bool No longer used.

Return Value

array: of related posts.

Ready to get started?

Drop us a note.

No matter where you are in the planning process, we’re happy to help, and we’re actual humans here on the other side of the form. 👋 We’re here to discuss your challenges and plans, evaluate your existing resources or a potential partner, or even make some initial recommendations. And, of course, we’re here to help any time you’re in the market for some robust WordPress awesomeness.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.