manifest / integrations / wp-sheet-logger
WP Sheet Logger Loader
A lightweight WordPress plugin and Google Apps Script integration that automatically logs core, plugin, and translation updates directly to designated tabs in a Google Sheet.
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/joel-edegran/wp-sheet-logger/archive/refs/heads/main.zipA lightweight WordPress MU-plugin that logs updates for core, plugins, and themes directly to a Google Sheet via Google Apps Script webhooks (upgrader_process_complete).
Installation
- Copy the
wp-sheet-logger-loader.phpfile and thewp-sheet-logger/directory to your WordPress installation'swp-content/mu-plugins/folder. - Edit
wp-sheet-logger/wp-sheet-logger.phpand update theWP_SHEET_LOGGER_DEPLOYMENT_IDconstant with your Google Apps Script Deployment ID.
Configuration
- Deployment ID: Paste your unique Google Apps Script web app ID into the
WP_SHEET_LOGGER_DEPLOYMENT_IDconstant in the plugin file. - Google Sheet Tab: Ensure that the specific tab in your Google Sheet is named exactly as the domain of your site (e.g.,
example.com). The plugin automatically retrieves the site domain and sends it to the script.
Setup
- Create a new Google Sheet.
- Open Extensions > Apps Script.
- Replace the content with the provided code in
google-apps-script/code.js. - Deploy the script as a Web App (execute as "Me", access "Anyone").
- Copy the Deployment ID and update the plugin configuration.