reduced mapped i18n functions to a strict minimum and updated README

This commit is contained in:
Jonathan Labreuille
2015-07-29 19:30:37 +02:00
parent f727a73297
commit f9a2d0026c
2 changed files with 18 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ class i18n extends \Twig_Extension {
// twig custom functions
$twig_functions = array();
// list of WP functions to map
$functions = array('_', '__', '_e', '_c', '_n', '_x');
$functions = array('__', '_n');
foreach($functions as $function) {
$twig_functions[] = new \Twig_SimpleFunction(