rest_stabilize_value ( $value )
- (mixed) value The value to stabilize. Must already be sanitized. Objects should have been converted to arrays.
- (mixed) The stabilized value.
- Introduced in WordPress: 5.5.0
- Deprecated in WordPress: —
Stabilizes a value following JSON Schema semantics.For lists, order is preserved. For objects, properties are reordered alphabetically.