What developers can build on: hooks, shortcodes, blocks, REST routes and WP-CLI commands, taken from each plugin’s own readme and from what this site has registered.
DoctorX Languages
- Shortcodes:
[doctorx_languages_switcher]
For theme developers
[doctorx_languages_switcher]or[doctorx_languages_switcher style="links"]— the language picker.doctorx_languages_switcher()— the same in a template.doctorx_languages_t( 'Text' )— translate a piece of theme text into the language of the page.doctorx_languages_current()anddoctorx_languages_url( $url, $lang )— the page's language and an address in another language.- Mark any part of a page with
translate="no"or the classnotranslateto keep it as written.