This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Defaults the MailPoet opt-in checkbox on the WooCommerce and/or | |
* Cartflows checkout pages to a checked state. Also properly handles | |
* the checkbox when 'update_checkout' events are fired. | |
* | |
* This code could either be placed in the functions.php of the active theme, | |
* a custom plugin, or be injected via plugins like WP Code or Code Snippets | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 |