Pro Tip:
Pro tip: When you build your plugin, register a deactivate hook. In that hook call the wp_set_option_autoload_values with an array of options you create in your plugin. Setting autoload options to false, means that the option is still kept in the options table, but not loaded on every page request. Good plugin clean up after […]
Backup Orders to the Cloud using Pub/Sub
This article will talk about how to use a small amount of code to push order data to pub/sub where we can then run a google cloud function to save the data to google cloud storage. Create a Pub/Sub Topic, such as woo-orders. Simple Cloud Function to send data to Pub/Sub. Now that are order […]