Skip to content

Instantly share code, notes, and snippets.

View Yame-'s full-sized avatar

Yannick Van Meerbeeck Yame-

View GitHub Profile
@Yame-
Yame- / add_bcc_to_certain_emails.php
Created June 7, 2018 19:20 — forked from jessepearson/add_bcc_to_certain_emails.php
Add a BCC to certain defined emails sent from WooCommerce
<?php // only copy this line if needed
/**
* Function adds a BCC header to emails that match our array
*
* @param string $headers The default headers being used
* @param string $object The email type/object that is being processed
*/
function add_bcc_to_certain_emails( $headers, $object ) {
@Yame-
Yame- / wordpress-plugin-composer-file.json
Created August 1, 2018 13:15
Default WordPress Plugin composer file
{
"name": "demo/demo",
"description": "Demo plugin",
"type": "wordpress-plugin",
"require": {
"composer/installers": "v1.0.6"
},
"authors": [
{
"name": "iValue",