WordPress at Your Fingertips
filter is not described

post_types_to_delete_with_user filter-hook . WP 3.4.0

Filters the list of post types to delete with a user.


add_filter( 'post_types_to_delete_with_user', 'filter_function_name_1584', 10, 2 );
function filter_function_name_1584( $post_types_to_delete, $id ){
	// filter...

	return $post_types_to_delete;
Array of post types to delete.
User ID.

Where the hook is called

wp-admin/includes/user.php 388
$post_types_to_delete = apply_filters( 'post_types_to_delete_with_user', $post_types_to_delete, $id );

Where in WP core the hook is used WordPress

Usage not found.