WP HOOKS
akcjaod 6.3.0

bulk_edit_posts

Args 2Plik wp-admin/includes/post.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Fires after processing the post data for bulk edit.

Parametry

ParametrTypOpis
$updatedint[]An array of updated post IDs.
$shared_post_dataarrayAssociative array containing the post data.

Wywołanie

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

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

Popularne w tej kategorii