plugin
wpmlWPML Abilities
Multilingual integration. Translation languages and routing configuration. Read-only diagnostic.
3Total Abilities
0Destructive
1Capability Gates
Functional Domains:
Multilingual
WordPress capabilities required:
manage_options 3Available Tools (3)
wpml_get_languagesmanage_optionsList WPML's active languages: code, native name, English/translated name, locale, and which one is the default. Read-only.
Parameter Schema0 parameters
{
"type": "object",
"properties": {}
}wpml_get_object_languagemanage_optionsResolve the WPML language code assigned to a specific post or taxonomy term. element_type follows WPML's own convention: "post_{post_type}" (e.g. post_post, post_page, post_product) or "tax_{taxonomy}" (e.g. tax_category, tax_post_tag). For a taxonomy element, element_id must be the term_taxonomy_id, not the term_id.
Parameter Schema2 parameters
{
"type": "object",
"properties": {
"element_id": {
"type": "integer",
"description": "Post ID, or term_taxonomy_id for a taxonomy element (not term_id)."
},
"element_type": {
"type": "string",
"description": "e.g. post_post, post_page, post_product, tax_category, tax_post_tag."
}
},
"required": [
"element_id",
"element_type"
]
}wpml_get_translationsmanage_optionsList a post's or taxonomy term's translation siblings: language code, translated element ID, and publish status. Uses the same element_type convention as wpml_get_object_language. Read-only.
Parameter Schema2 parameters
{
"type": "object",
"properties": {
"element_id": {
"type": "integer",
"description": "Post ID, or term_taxonomy_id for a taxonomy element (not term_id)."
},
"element_type": {
"type": "string",
"description": "e.g. post_post, post_page, post_product, tax_category, tax_post_tag."
}
},
"required": [
"element_id",
"element_type"
]
}