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

Maintainers

Package info

github.com/WPBP/Language

pkg:composer/wpbp/language

Statistics

Installs: 2 521

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

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' );