function __construct() { // This singleton needs to be instantiated before we call parent constructor, so we avoid instantiating // the parent class WPV_WPML_Integration_Embedded instead. WPV_WPML_Integration::init(); parent::__construct(); }
public static function get_instance() { if( null == self::$instance ) { self::$instance = new WPV_WPML_Integration(); } return self::$instance; }