WP HOOKS
akcjaod 2.2.0

comment_atom_entry

Args 2Plik wp-includes/feed-atom-comments.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Fires at the end of each Atom comment feed item.

Parametry

ParametrTypOpis
$comment_idintID of the current comment.
$comment_post_idintID of the post the current comment is connected to.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'comment_atom_entry', 'twoja_funkcja', 10, 2 );

function twoja_funkcja($param_1, $param_2) {
	// Twój kod
}

Popularne w tej kategorii