Flamingo plugin with proper polish csv export

In case anyone searching I’ve created a modified version of Flamingo plugin for WordPress. Now it exports proper polish csv files out of box (encoded in Windows-1250 and delimited with semicolons).

Download here: http://realhe.ro/pub/flamingo-polish-export.zip

Install using zip upload ability in WordPress or by FTP.

How to access language var from PHP in Grav CMS?

Gravs documentation is a little bit harsh on PHP developers that want to write plugins. What can you do in this situation? Look trough source code, check other plugins or var_dump $this object 🙂

I’ve spent some time searching for an answer how to access language var in plugins class. And this is it:

// Will output two letter ISO 3166-1 alpha-2 code of country
$language =  $this->grav['language']; 
$language->getLanguage();

Have fun with coding and don’t get crazy during that 🙂