wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



delete_user › Działania WordPress Hooks

Od5.5.0
Przestarzałyn/a
› do_action( 'delete_user', $id, $reassign, $user )
Parametry: (3)
  • () id ID of the user to delete.
    Wymagane: Tak
  • () reassign ID of the user to reassign posts and links to. Default null, for no reassignment.
    Wymagane: Tak
  • () user WP_User object of the user to delete.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Fires immediately before a user is deleted from the site.

Note that on a Multisite installation the user only gets removed from the site and does not get deleted from the database.




Źródło

do_action( 'delete_user', $id, $reassign, $user );