filtrod 1.5.0
get_comment_author_url
Opis — z kodu źródłowego
Filters the comment author's URL.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$comment_author_url | string | The comment author's URL, or an empty string. |
$comment_id | string | int | The comment ID as a numeric string, or 0 if not found. |
$comment | \WP_Comment | null | The comment object, or null if not found. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'get_comment_author_url', '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_url', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}Popularne w tej kategorii