You appear to be a bot. Output may be restricted
Description
Set the email headers for the wp_mail() call
Usage
$mixed = oiku_get_email_headers( $headers, $fields );
Parameters
- $headers
- ( mixed ) optional – normally an array of headers
- $fields
- ( mixed ) optional – array of fields that may get updated
Returns
mixed filtered headersSource
File name: oik-user/includes/oik-user-email.incLines:
1 to 13 of 13
function oiku_get_email_headers( $headers=null, &$fields=array() ) { $fields['bcc'] = $fields['from']; if ( null == $headers ) { $headers[] = "From: %contact% <%from%>"; $headers[] = "Bcc: %bcc%"; $headers[] = "content-type: text/html"; } add_filter( "oiku_email_headers", "oiku_replace_fields", 1, 2 ); $headers = apply_filters( "oiku_email_headers", $headers, $fields ); bw_trace2(); return( $headers ); }View on GitHub