ldc-groupe/content/plugins/sitepress-multilingual-cms/classes/deprecated/class-wpml-twig.php
Vincent BRIDIER 134507db43 - Backup DEV
- Add DotEnv
- Fix Bato
- Etc..
2020-05-04 15:59:02 +02:00

19 lines
363 B
PHP

<?php
/**
* Class WPML_Twig
*
* @deprecated @since 3.3.3
*/
class WPML_Twig {
function __construct() {
if ( ! class_exists( 'Twig_Autoloader' ) ) {
require_once dirname( __FILE__ ) . '/../embedded/Twig/twig/lib/Twig/Autoloader.php';
}
add_action( 'init', array( $this, 'autoload' ) );
}
function autoload() {
Twig_Autoloader::register();
}
}