PHP code example of wpbp / language
1. Go to this page and download the library: Download wpbp/language library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
wpbp / language example snippets
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' );