Skip to content

Instantly share code, notes, and snippets.

View arraypress's full-sized avatar
🎯
Focusing

David Michael arraypress

🎯
Focusing
View GitHub Profile
/**
* Compare the import date (timestamp) with an existing post meta date.
*
* @param $continue_import bool
* @param $post_id int
* @param $data array
* @param $import_id int
*
* @return bool|mixed
*/
@arraypress
arraypress / edd-sign-up-bonus.php
Created May 5, 2021 18:39
Reward new user registrations with store credit.
<?php
/**
* Plugin Name: ArrayPress - Easy Digital Downloads Sign Up Bonus
* Plugin URI: https://arraypress.com
* Description: Reward new user registrations with store credit.
* Author: David Sherlock
* Author URI: https://arraypress.com
* Text Domain: edd-sign-up-bonus
* Domain Path: /languages/
* Requires PHP: 5.6.20