Polylang Post-Sprache setzen
polylang_set_post_languageAssigns a language to a WordPress post by post ID and language slug, enabling multilingual content management.
Instructions
Setzt die Sprache eines Posts
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"postId": "<postId>",
"language": "<language>"
},
"name": "polylang_set_post_language"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | Post-ID | |
| language | Yes | Sprach-Slug (z.B. de, en, fr) |