apply_filters( 'post_types_to_delete_with_user', string[] $post_types_to_delete, int $id )  Filters the list of post types to delete with a user.   Parameters   $post_types_to_delete string[]    Array of post types to delete.    $id int    User ID.      Source  File: wp-admin/includes/user.php. View all references  $post_types_to_delete = apply_filters( 'post_types_to_delete_with_user', $post_types_to_delete, $id );
   Related  Used By    Used By Description      wp_delete_user() wp-admin/includes/user.php   Remove user and optionally reassign posts and links to another user.   
    Changelog    Version Description     3.4.0 Introduced.    

    
{'path': 'public/docs/wordpress/hooks/post_types_to_delete_with_user.html', 'source': 'DevDocs.IO'}