wp_array_slice_assoc


wp_array_slice_assoc ( $input_array, $keys )

Parameters:
  • (array) input_array The original array.
  • (array) keys The list of keys.
Returns:
  • (array) The array slice.
Defined at:

Description

Extracts a slice of an array, given a list of keys.

Related Functions

_wp_array_set, _wp_array_get, array_is_list, wp_kses_array_lc, wp_parse_args

Top Google Results

User discussions

wpseek mobile