rest_default_additional_properties_to_false


rest_default_additional_properties_to_false ( $schema )

Parameters:
  • (array) schema The schema to modify.
Returns:
  • (array) The modified schema.
Defined at:

Description

Sets the "additionalProperties" to false by default for all object definitions in the schema.

Related Functions

get_default_post_to_edit, rest_authorization_required_code, get_default_link_to_edit, get_default_page_to_edit, register_default_headers

Top Google Results

User discussions

wpseek mobile