apply_filters( ‘post_types_to_delete_with_user’, string[] $post_types_to_delete, int $id )

In this article

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

Parameters

$post_types_to_deletestring[]
Array of post types to delete.
$idint
User ID.

Source

$post_types_to_delete = apply_filters( 'post_types_to_delete_with_user', $post_types_to_delete, $id );

Changelog

VersionDescription
3.4.0Introduced.

User Contributed Notes

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