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.

Top ↑

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 );


Top ↑

Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.