WP HOOKS
akcjaod 2.9.0

untrashed_post_comments

Args 1Plik wp-includes/post.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Fires after comments are restored for a post from the Trash.

Parametry

ParametrTypOpis
$post_idintPost ID.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_action( 'untrashed_post_comments', 'twoja_funkcja' );

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

Popularne w tej kategorii