Skip to content

Instantly share code, notes, and snippets.

View alexmoise's full-sized avatar

Alex Moise alexmoise

View GitHub Profile
@alexmoise
alexmoise / allow-usdz-in-wordpress-media-library.php
Last active September 3, 2023 17:02 — forked from kamalahmed/fix-svg-upload-error-in-wordpress.php
A simple plugin that makes it possible to upload USDZ files in WordPress Media Manager
<?php
/**
* Plugin Name: Allow USDZ mime in Wordpress Media Library
* Plugin URI: https://gist.github.com/alexmoise/201a3b1196facb8343e82d0590f9b1ab
* Description: A simple plugin that makes it possible to upload USDZ files in Media Manager. Don't forget to add the MIME type in web server config if necessary! No settings necessary, just activate and upload USDZ files in media library as usually. Tested with WP 5.2.3
* Version: 1.2.81
* Author: Alex Moise
* Author URI: https://moise.pro
*/
@alexmoise
alexmoise / my_pmpro_mailchimp_listsubscribe_fields.php
Last active October 10, 2017 15:33 — forked from strangerstudios/my_pmpro_mailchimp_listsubscribe_fields.php
Sync name and level to Mailchimp with PMPro and PMPro Mailchimp
<?php
/**
* Plugin Name: Paid Memberships Pro - Sync fields to MailChimp
* Plugin URI: https://gist.github.com/alexmoise/
* Description: A simple plugin to sync fields between MailChimp and Paid Memberships Pro - MailChimp Add On. Only works with Paid Memberships Pro and MailChimp Add On installed and configured. Created as plugin out of https://gist.github.com/strangerstudios/b8f64e713d66583bdc71
* Version: 1.0.0
* Author: Alex Moise
* Author URI: http://moise.pro
*/