bulk_edit_posts хук-событиеWP 6.3.0

Fires after processing the post data for bulk edit.

Использование

add_action( 'bulk_edit_posts', 'wp_kama_bulk_edit_posts_action', 10, 2 );

/**
 * Function for `bulk_edit_posts` action-hook.
 * 
 * @param int[] $updated          An array of updated post IDs.
 * @param array $shared_post_data Associative array containing the post data.
 *
 * @return void
 */
function wp_kama_bulk_edit_posts_action( $updated, $shared_post_data ){

	// action...
}
$updated(int[])
An array of updated post IDs.
$shared_post_data(массив)
Associative array containing the post data.

Список изменений

С версии 6.3.0 Введена.

Где вызывается хук

bulk_edit_posts()
bulk_edit_posts
wp-admin/includes/post.php 724
do_action( 'bulk_edit_posts', $updated, $shared_post_data );

Где используется хук в WordPress

Использование не найдено.