filtrod 1.5.2
comment_notification_subject
Opis — z kodu źródłowego
Filters the comment notification email subject.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$subject | string | The comment notification email subject. |
$comment_id | string | Comment ID as a numeric string. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'comment_notification_subject', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'comment_notification_subject', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii