Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.
/ wpml-rest-api Public archive
forked from darenzammit/wpml-rest-api

Adds links to posts in other languages into the results of a WP REST API query for sites running the WPML plugin.

License

Notifications You must be signed in to change notification settings

qred/wpml-rest-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPML REST API

Contributors: shooper Donate link: http://shawnhooper.ca/ Tags: wpml, api, rest Requires at least: 4.7 Tested up to: 4.8 Stable tag: trunk License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html

Adds links to posts in other languages into the results of a WP REST API query for sites running the WPML plugin.

Description

Adds links to posts in other languages into the results of a WP REST API query for sites running the WPML plugin.

Changelog

1.0

  • First release.

1.1

  • Allows language switching by specifying 'lang' or 'wpml_lang' parameters on the query string.
  • Typos in code fixed.

1.2

  • Added endpoint for all translations.

About

Adds links to posts in other languages into the results of a WP REST API query for sites running the WPML plugin.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 79.9%
  • JavaScript 20.1%