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:Defined at: - Introduced in WordPress: 3.1.0
- Deprecated in WordPress: —
Description
Extracts a slice of an array, given a list of keys.