WP Manifestindependent plugin directory
manifest / i18n / polylang-get-all-translations

Polylang - Get all translations

Get all translations for the current language as a single key-value object.

by k1sul1 · github.com/k1sul1/polylang-get-all-translations · website

3stars
71composer installs
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/k1sul1/polylang-get-all-translations/archive/refs/heads/master.zip

Also on Packagist as k1sul1/polylang-get-all-translations:

composer require k1sul1/polylang-get-all-translations

From the readme

Polylang - Get all translations Get all translations for the current language as a single key-value object. Calls are cached for performance. You can use the object in wplocalizescript() to print all string translations to the client as a JavaScript object. plgetalltranslations() gives you a cached array of keypairs. There's a few filters that you can use to configure the plugin. Requirements - Polylang - PHP 5.4+ Installation Install the plugin via Composer Activate the plugin Usage

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
0.1.4Aug 28, 2017
0.1.3Feb 10, 2017
0.1.2Feb 5, 2017
0.1.1Dec 30, 2016