Skip to content

Instantly share code, notes, and snippets.

View lukecav's full-sized avatar
🧭
No matter where you go, there you are.

Luke Cavanagh lukecav

🧭
No matter where you go, there you are.
View GitHub Profile
@lukecav
lukecav / functions.php
Created October 23, 2025 19:33
Run the Jetpack full sync every 30 minutes the default is 5 minutes
function jetpackcom_custom_sync_schedule( $schedules ) {
if ( ! isset( $schedules['30min'] ) ) {
$schedules['30min'] = array(
'interval' => 30 * MINUTE_IN_SECONDS,
'display' => __( 'Every 30 minutes' ),
);
}
return $schedules;
}
add_filter( 'cron_schedules', 'jetpackcom_custom_sync_schedule' );
@lukecav
lukecav / Links
Created October 21, 2025 22:26
FluentCart developer docs
@lukecav
lukecav / AGENTS.MD
Created September 15, 2025 21:07
AGENTS.MD — Codex Playbook for Building a WordPress Plugin

AGENTS.md — Codex Playbook for Building a WordPress Plugin

A precise, no-nonsense blueprint for orchestrating autonomous and semi-autonomous coding agents to plan, scaffold, implement, test, and ship a production‑grade WordPress plugin.


0) Purpose & Scope

This document defines the agents, tools, workflows, constraints, and acceptance criteria for using an agentic coding system ("Codex") to create and maintain a WordPress plugin. It is optimized for real, shippable code, not demos.

@lukecav
lukecav / Links
Created July 11, 2025 19:08
Elevate AlmaLinux 9 to 10
@lukecav
lukecav / Command
Created June 26, 2025 21:11
Empty the Jetpack Sync Queue database table using a WP-CLI command
wp db query "TRUNCATE TABLE wp_jetpack_sync_queue;"
@lukecav
lukecav / Links
Created June 26, 2025 17:18
Bulk Editing in ActiveCampaign
@lukecav
lukecav / acf-export-user-field.json
Last active June 25, 2025 23:30
Track Last Login Time and Update User ACF Field
[
{
"key": "group_685c37b820182",
"title": "User Login Info",
"fields": [
{
"key": "field_685c37bd7d63f",
"label": "Last Login Time",
"name": "last_login_time",
"aria-label": "",
@lukecav
lukecav / Links
Created June 23, 2025 20:16
Accept ACH Direct Deposits in Stripe
@lukecav
lukecav / Links
Created June 18, 2025 23:08
ActiveCampaign to HighLevel (Migration Guide)
@lukecav
lukecav / Links
Created June 17, 2025 14:49
AlmaLinux 10 and RockyLinux 10