Skip to content

Instantly share code, notes, and snippets.

View lukecav's full-sized avatar
Translucent form radiates

Luke Cavanagh lukecav

Translucent form radiates
View GitHub Profile
@lukecav
lukecav / functions.php
Created May 16, 2022 17:10
Enable custom order tables feature in WooCommerce (beta)
function enable_cot(){
$order_controller = wc_get_container()
->get('Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController');
if( isset( $order_controller ) ) {
$order_controller->show_feature();
}
}
add_action( 'init', 'enable_cot', 99 );
@lukecav
lukecav / Cron events
Created May 12, 2022 19:26
FluentCRM plugin cron events
fluentcrm_scheduled_minute_tasks
every minute
fluentcrm_scheduled_hourly_tasks
once hourly
fluentcrm_scheduled_weekly_tasks
once weekly
@lukecav
lukecav / Custom database table
Created May 5, 2022 20:23
WP Staging plugin queue custom database table
wp_wpstg_queue
@lukecav
lukecav / Cron events
Created May 5, 2022 19:58
Email Subscribers & Newsletters plugin cron events
ig_es_cron
ig_es_cron_worker
ig_es_cron_auto_responder
@lukecav
lukecav / Commands
Created May 3, 2022 20:55
Clear the cache in ExpressionEngine from command line
php eecli.php cache:clear --type=all
php eecli.php cache:clear --type=db
@lukecav
lukecav / Folders
Created May 3, 2022 18:14
Hummingbird plugin created folders in wp-content
wphb-cache
wphb-logs
@lukecav
lukecav / Custom database tables
Created May 3, 2022 17:44
WP Offload SES plugin custom database tables
wp_oses_attachments
wp_oses_clicks
wp_oses_email_attachments
wp_oses_emails
wp_oses_failures
wp_oses_jobs
@lukecav
lukecav / Links
Created May 3, 2022 15:05
AWS Route 53 DNS propagation delays
@lukecav
lukecav / Links
Created May 2, 2022 16:39
How to install and update CraftCMS
@lukecav
lukecav / Command
Created May 2, 2022 16:28
Update Composer 1 to version 2
composer self-update --2