Skip to content

Auto-Registered Groups

When Multilang is ON, five field groups appear in wp-admin automatically. Native WP functions (the ones listed under “Swaps”) return the active-language value when a translation exists, and fall back to the native field otherwise.

GroupApplies toFieldSwaps
Multilang TitlePost types with editor support (except page, attachment)title_mlthe_title(), get_the_title()
Multilang Featured ImagePost types with thumbnail support (except attachment)featured_image_mlget_post_thumbnail_id(), the_post_thumbnail(), has_post_thumbnail()
Multilang NameAll public taxonomies (except nav_menu, link_category, post_format)name_ml$term->name, get_the_terms(), wp_get_post_terms(), get_term() — slugs are not translated
Multilang SEOPost types with publicly_queryable => trueseo_title, seo_description, og_imageYoast title, description, OG, Twitter, canonical
Multilang ContentPost types with editor support (respects admin_controller_config.php)content_mlthe_content(), get_the_content()

Knowledge Check

Test your understanding of this section

Loading questions...