Custom Post Type Toolswordpress_update_custom_post
Custom Post Type Tools

wordpress_update_custom_post

Update a custom post by type and ID. Supports meta fields and builder custom CSS.

wordpress_update_custom_post

Update a custom post. Supports meta fields and custom CSS for Divi/Elementor builders.

Parameters

ParameterTypeRequiredDescription
typestringYesPost type name
idnumberYesPost ID
titlestringNoPost title
contentstringNoPost content
statusstringNoPost status
metaobjectNoPost meta data (e.g., { "_et_pb_custom_css": "/* CSS */" })
customCssstringNoCustom CSS for page builders (Divi/Elementor). Saved to appropriate meta field based on detected builder.

Response

{
  "success": true,
  "type": "product",
  "id": 3001,
  "updated": true
}

Example Prompts

  • "Update product 3001 title to 'Pro Plan'"
  • "Update portfolio item 42 content"
  • "Set custom CSS on product 3001"

Notes

  • If you pass customCss, Respira will store it in the correct builder meta field when possible
  • Use meta for advanced builder/meta workflows
Was this page helpful?
Built with Documentation.AI

Last updated Dec 15, 2025