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
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_types_to_delete_with_user