Skip to content

Instantly share code, notes, and snippets.

View Christianzimpel's full-sized avatar

Christianzimpel

View GitHub Profile
@cfaria
cfaria / migrateorders.php
Last active February 12, 2024 16:45 — forked from maddisondesigns/migrateorders.php
Migrate WooCommerce Orders
<?php
//increase max execution time of this script to 150 min:
ini_set('max_execution_time', 9000);
//increase Allowed Memory Size of this script:
ini_set('memory_limit','960M');
// Copies woocommerce orders and users over from source to target.
// I use this on my local machine - loading both db's up there side by side
// could easily adjust the connect strings to connect elsewhere if needed.
@lukecav
lukecav / functions.php
Last active September 7, 2018 07:39
Remove the try Gutenberg panel from the dashboard in WordPress admin (WP 4.9.7)
remove_action( 'try_gutenberg_panel', 'wp_try_gutenberg_panel' );