Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



post_types_to_delete_with_user ›

Seit3.4.0
Veraltetn/v
apply_filters( 'post_types_to_delete_with_user', $post_types_to_delete, $id )
Parameter: (2)
  • (string[]) $post_types_to_delete Array of post types to delete.
    Erforderlich: Ja
  • (int) $id User ID.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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