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:
Change Log:
  • 5: .

Description

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

Related Functions

get_default_post_to_edit, rest_add_application_passwords_to_index, rest_authorization_required_code, get_default_link_to_edit, get_default_page_to_edit

Top Google Results

User discussions

wpseek mobile