rest_sanitize_object


rest_sanitize_object ( $maybe_object )

Parameters:
  • (mixed) maybe_object The value being evaluated.
Returns:
  • (array) Returns the object extracted from the value as an associative array.
Defined at:

Description

Converts an object-like value to an array.

Related Functions

rest_sanitize_boolean, rest_is_object, sanitize_user_object, rest_sanitize_array, rest_sanitize_request_arg

Top Google Results

User discussions

wpseek mobile