Skip to content

Instantly share code, notes, and snippets.

View reggieofarrell's full-sized avatar

Reggie O'Farrell reggieofarrell

View GitHub Profile
@reggieofarrell
reggieofarrell / ACFSyncFieldGroups.php
Created October 25, 2024 17:47 — forked from hirasso/ACFSyncFieldGroups.php
A WordPress Plugin that allows to sync ACF field groups via WP CLI
<?php
/*
* Plugin Name: ACFSyncFieldGroups
* Plugin URI: https://gist.github.com/hirasso/c48c04def92f839f6264349a1be773b3
* Description: Allows to sync ACF field groups via WP CLI
* Version: 0.0.2
* Author: Rasso Hilber
* Author URI: https://rassohilber.com/
* License: GPL2+
* License URI: https://www.gnu.org/licenses/gpl-2.0.txt
<?php
/**
* GitHub webhook handler template.
*
* @see https://docs.github.com/webhooks/
* @author Miloslav Hůla (https://github.com/milo)
*/
$hookSecret = 's.e.c.r.e.t'; # set NULL to disable check