wpseek.com
A WordPress-centric search engine for devs and theme authors



post_types_to_delete_with_user › WordPress Filter Hooks

Since3.4.0
Deprecatedn/a
apply_filters( 'post_types_to_delete_with_user', $post_types_to_delete, $id )
Parameters: (2)
  • (string[]) $post_types_to_delete Array of post types to delete.
    Required: Yes
  • (int) $id User ID.
    Required: Yes
Defined at:
Codex:

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





Source

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