Yoast / Yoast/duplicate-post

Add WP abilities for key plugin functions

Open
#544 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
53
Forks
38
Avg merge
4d 8h
Merged PRs (30d)
1

Description

Is your feature request related to a problem? Please describe.

The plugin only exposes a few specific REST API endpoints that don't cover the full range of the plugin's features, and no abilities that can be used with AI tools / MCP.

Describe the solution you'd like

Register abilities via https://developer.wordpress.org/reference/functions/wp_register_ability/ for the following tasks:

  • Rewrite
  • Republish
  • Clone
  • Copy as new draft

Why do you think this feature is something we should consider for the Yoast SEO plugins?

AI is increasingly part of our workflows, and enabling it to use plugin features like this one offers would be a powerful value add.

Additional context

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the WordPress wp_register_ability reference and inspect how the plugin currently exposes its REST API endpoints. Identify the existing implementations for Rewrite, Republish, Clone, and Copy as new draft, then register abilities that make those tasks available to AI tools and MCP. Done means all four plugin functions are exposed as usable abilities.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.