uawdijnntqw1x1x1
IP : 216.73.216.109
Hostname : premium160.web-hosting.com
Kernel : Linux premium160.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
batcwwjx
/
public_html
/
wp-content
/
plugins
/
all-in-one-seo-pack
/
app
/
Common
/
.
/
Api
/
User.php
/
/
<?php namespace AIOSEO\Plugin\Common\Api; // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Handles user related API routes. * * @since 4.2.8 */ class User { /** * Get the user image. * * @since 4.2.8 * * @param \WP_REST_Request $request The REST Request * @return \WP_REST_Response The response. */ public static function getUserImage( $request ) { $args = $request->get_params(); if ( empty( $args['userId'] ) ) { return new \WP_REST_Response( [ 'success' => false, 'message' => 'No user ID was provided.' ], 400 ); } $url = get_avatar_url( $args['userId'] ); return new \WP_REST_Response( [ 'success' => true, 'url' => is_array( $url ) ? $url[0] : $url, ], 200 ); } }
/home/batcwwjx/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/./Api/User.php