WordPress icon

WordPress

Create, read, update and delete WordPress content with AI GROWTH - SEO WP plugin support

Post → Update

AI-generated

Summary

Update an existing WordPress post by its ID with specified details such as title, content, status, publish date, excerpt, slug, featured image, categories, tags, and SEO metadata including FAQs and CTAs.

Inputs

  • Post ID (required) — ID of the post to update.
  • Title (required) — Title of the post.
  • Content (required) — HTML-supported content body of the post.
  • Status (required) — Publication status of the post (publish, draft, pending, private, future). Use 'future' to schedule publication at a specified date/time.
  • Publish Date — Date and time for scheduled publishing if status is 'future', supporting timezone notation (format: YYYY-MM-DDTHH:mm:ss±HH:mm).
  • Excerpt — Short summary or excerpt of the post for archives and SEO.
  • Slug — URL-friendly identifier for the post, e.g. 'my-awesome-post'.
  • Featured Image URL — URL of an image to download and set as the post's featured image.
  • Categories — Comma-separated list of category names or IDs to assign to the post.
  • Tags — Comma-separated list of tag names or IDs to assign to the post.
  • SEO Options — SEO metadata fields including meta title, description, keywords, Open Graph and Twitter card data, JSON-LD structured data, with options to update FAQs and CTA (call to action) associated with the post.

Output shape

a single record

Returns the updated post object including updated details and enriched SEO metadata if provided. The output reflects the complete updated resource with categories, tags, featured image, and SEO data. Errors are returned if validation fails or the post does not exist.

Examples

Example 1: Update a post's title, content, and schedule it for future publication with SEO metadata and set a featured image

Specify Post ID, change title and content, set status to 'future' with a publish date, provide optional SEO fields like meta title and description, and supply a featured image URL to be downloaded and set automatically.

Links

Discussion