rest_validate_array_contains_unique_items


rest_validate_array_contains_unique_items ( $array )

Parameters:
  • (array) array The array to check.
Returns:
  • (bool) True if the array contains unique items, false otherwise.
Defined at:

Description

Checks if an array is made up of unique items.

Related Functions

rest_validate_request_arg, rest_handle_options_request, rest_validate_value_from_schema, validate_current_theme, _is_valid_nav_menu_item

Top Google Results

User discussions

wpseek mobile