. */ require_once('CF7DBPlugin.php'); require_once('CFDBExport.php'); include_once('CFDBDie.php'); class ExportToGoogleLiveData implements CFDBExport { public function export($formName, $options = null) { $plugin = new CF7DBPlugin(); if (!$plugin->canUserDoRoleOption('CanSeeSubmitData')) { CFDBDie::wp_die(__('You do not have sufficient permissions to access this page.', 'contact-form-7-to-database-extension')); } header('Expires: 0'); header('Cache-Control: no-store, no-cache, must-revalidate'); $pluginUrlDir = $plugin->getPluginDirUrl(); $scriptLink = $pluginUrlDir . 'CFDBGoogleSSLiveData.php'; $imageUrlDir = $pluginUrlDir . "help"; $siteUrl = get_option('home'); $userName = is_user_logged_in() ? wp_get_current_user()->user_login : 'user'; ob_start(); ?>

Tools menu -> Script Editor...', 'contact-form-7-to-database-extension'); ?>

Spreadsheet', 'contact-form-7-to-database-extension'); ?>

Copy the text from ', 'contact-form-7-to-database-extension'); ?> paste it into the Google script editor', 'contact-form-7-to-database-extension'); ?>

Save the script', 'contact-form-7-to-database-extension'); ?>




<password> with your WordPress password', 'contact-form-7-to-database-extension'); ?>

WARNING: since you are putting your login information into the Google Spreadsheet, be sure not to share the spreadsheet with others. 200, 'back_link' => true)); } }