akcjaod 3.0.0
comment_form_comments_closed
Opis — z kodu źródłowego
Fires after the comment form if comments are closed.
For backward compatibility, this action also fires if comment_form() is called with an invalid post object or ID.
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_action( 'comment_form_comments_closed', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_action( 'comment_form_comments_closed', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii