LLMS_REST_Users_Controller::prepare_object_for_response( LLMS_Abstract_User_Data $object, WP_REST_Request $request )

Prepare an object for response


Description Description


Parameters Parameters

$object

(Required) User object.

$request

(Required) Request object.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-users-controller.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.14 Only add remapped keys to the response when the schema key is present in the expected response fields array.
1.0.0-beta.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.