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



rest_insert_user ›

Desde4.7.0
Obsoleton/a
do_action( 'rest_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 immediately after a user is created or updated via the REST API.





Fonte

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