Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

Latest commit

 

History

History
24 lines (15 loc) · 801 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 801 Bytes

Language

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