akcjaod 3.0.0
comment_form_logged_in_after
Opis — z kodu źródłowego
Fires after the is_user_logged_in() check in the comment form.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$commenter | array | An array containing the comment author's username, email, and URL. |
$user_identity | string | If the commenter is a registered user, the display name, blank otherwise. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'comment_form_logged_in_after', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'comment_form_logged_in_after', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii