filtrod 4.1.0
comment_reply_link_args
Opis — z kodu źródłowego
Filters the comment reply link arguments.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$args | array | Comment reply link arguments. See get_comment_reply_link() for more information on accepted arguments. |
$comment | \WP_Comment | The object of the comment being replied to. |
$post | \WP_Post | The WP_Post object. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'comment_reply_link_args', '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( 'comment_reply_link_args', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}Popularne w tej kategorii