filtrod 1.5.0
get_comment_author_link
Opis — z kodu źródłowego
Filters the comment author's link for display.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$comment_author_link | string | The HTML-formatted comment author link. Empty for an invalid URL. |
$comment_author | string | The comment author's username. |
$comment_id | string | The comment ID as a numeric string. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'get_comment_author_link', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'get_comment_author_link', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}Popularne w tej kategorii