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