Skip to content

Instantly share code, notes, and snippets.

View dankerizer's full-sized avatar
:octocat:
kerjaTerus

Hadie Danker dankerizer

:octocat:
kerjaTerus
View GitHub Profile
@manastungare
manastungare / css-compress.php
Created May 7, 2012 00:23
On-the-fly CSS Compression
<?php
/**
* On-the-fly CSS Compression
* Copyright (c) 2009 and onwards, Manas Tungare.
* Creative Commons Attribution, Share-Alike.
*
* In order to minimize the number and size of HTTP requests for CSS content,
* this script combines multiple CSS files into a single file and compresses
* it on-the-fly.
*
@dankerizer
dankerizer / gist:c09a3ff0046be3fa877c90355bbfef1d
Created July 19, 2018 18:33 — forked from mikejolley/gist:3097073
WooCommerce - Unhook/Disable emails
/**
* Code goes in functions.php or a custom plugin.
*/
add_action( 'woocommerce_email', 'unhook_those_pesky_emails' );
function unhook_those_pesky_emails( $email_class ) {
/**
* Hooks for sending emails during store events
**/