filtrod 2.8.0
wp_mail_original_content
Opis — z kodu źródłowego
Filters the original content of the email.
Give Post-By-Email extending plugins full access to the content, either the raw content, or the content of the last quoted-printable section.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$content | string | The original email content. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'wp_mail_original_content', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'wp_mail_original_content', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii