Uma área de pesquisa sobre o WordPress para devs e autores do tema



rest_after_insert_user ›

Desde5.0.0
Obsoleton/a
do_action( 'rest_after_insert_user', $user, $request, true )
Parâmetros: (3)
  • (WP_User) $user Inserted or updated user object.
    Required: Yes
  • (WP_REST_Request) $request Request object.
    Required: Yes
  • (bool) $creating True when creating a user, false when updating.
    Required: Yes
Definido em:
Codex:

Fires after a user is completely created or updated via the REST API.





Fonte

do_action( 'rest_after_insert_user', $user, $request, true );