akcjaod 6.3.0
bulk_edit_posts
Opis — z kodu źródłowego
Fires after processing the post data for bulk edit.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$updated | int[] | An array of updated post IDs. |
$shared_post_data | array | Associative 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
}
// 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