Guide

Related Posts Abilities

Editorial suggestion Ability for related-post curation.

Ability index

AbilityPermissionSide effects
prc-related-posts/suggestedit_posts (on target site)Read-only ranking; not idempotent

Category: data-retrieval
Meta: show_in_rest: true, MCP public tool
Source: includes/ai-experiment/class-related-posts-ai-ability.php

For a post_id (optional site_id, default content site), returns up to five ranked suggestions with reasons, plus source_post, candidate_count, and source (parsely or category-query).

Published posts prefer Parse.ly content recommendations when configured; otherwise up to 15 category-sharing candidates are ranked by AI.

Reference

Input

Typed options, defaults, and constraints in one scannable reference.
2 fields
post_id number required
Post to find related posts for.
site_id number
Multisite blog ID; defaults to the content site.

If the plugin is inactive on the target site, the Ability returns plugin_inactive_on_site.

Was this helpful?