wpbp/language

This package is abandoned and no longer maintained. No replacement package was suggested.

Function wrapper for register,unregister,get language and get string for WPML, Polylang and Ceceppa Multilingua

Installs: 2 509

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/wpbp/language

1.0.0 2016-06-22 17:36 UTC

This package is auto-updated.

Last update: 2022-07-25 23:52:15 UTC


README

License Downloads

Wrap specific methods to get string or register it or get the language for Ceceppa Multilingua, Polylang and WPML plugins.

Install

composer require wpbp/language:dev-master

composer-php52 supported.

Example

echo get_language();

register_string( 'Test Wrapper', 'Test in progress', 'You are testing this wrapper' );

echo get_string( 'Test Wrapper', 'Test in progress', 'You are testing this wrapper' );

//Uncomment this after checked that in the plugin settings the string exist
deregister_string( 'Test Wrapper', 'Test in progress' );