rest_stabilize_value


rest_stabilize_value ( $value )

Parameters:
  • (mixed) value The value to stabilize. Must already be sanitized. Objects should have been converted to arrays.
Returns:
  • (mixed) The stabilized value.
Defined at:

Description

Stabilizes a value following JSON Schema semantics.For lists, order is preserved. For objects, properties are reordered alphabetically.

Related Functions

rest_sanitize_boolean, rest_sanitize_array, rest_sanitize_value_from_schema, rest_sanitize_object, rest_sanitize_request_arg

Top Google Results

User discussions

wpseek mobile