Skip to content

Instantly share code, notes, and snippets.

View ianmjones's full-sized avatar
Proudly powered by ✨ 🦄 💩 & ☕, mostly ☕

Ian M. Jones ianmjones

Proudly powered by ✨ 🦄 💩 & ☕, mostly ☕
View GitHub Profile
@ianmjones
ianmjones / as3cf-update_products_downloadable_files.php
Created April 16, 2019 10:39 — forked from psaikali/as3cf-update_products_downloadable_files.php
Process WooCommerce products and set correct downloadable files if they've been offloaded by WP Offload Media
<?php
namespace Mosaika;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Register our custom commands.