is_wp_user( $user ) && is_multisite() && is_user_logged_in() ) { return $this->json( [ 'user_id' => $user->ID ], 200 ); } return $this->run_next( $user, $response ); } }