public function CreateTemplate($atts = array()) { if (class_exists('Google_Client') && !method_exists('Google_Client', 'getLibraryVersion')) { return 'Use-your-Drive - Error: ' . __("We are not able to connect to the Google API as the plugin is interfering with an other plugin", 'useyourdrive') . '. '; } require_once 'includes/UseyourDrive.php'; $processor = new UseyourDrive(); return $processor->createFromShortcode($atts); }