Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block danngyw

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View footer.php
danngyw / functions.php
Created Jun 18, 2015
Add filter to remove header logo and footer contact info
View functions.php
function remove_logo_in_email(){
$mail_header = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
<body style="font-family: Arial, sans-serif;font-size: 0.9em;margin: 0; padding: 0; color: #222222;">
You can’t perform that action at this time.