A simple utility function that checks to see if an array contains multiple keys.
Filtering Multi-Dimensional Arrays in PHP
A simple utility function that enables recursive filtering of multi-dimensional arrays.
Heterogeneous Multi-dimensional Data Access in PHP
Easily fetch deeply nested data from a heterogenous multi-dimensional collection in PHP using dot notation… or whatever that means.
Whitelist and Blacklist Array Keys in PHP
Two utility functions you will definitely want to add to your arsenal are array_keys_whitelist() and array_keys_blacklist().
Reindex an Array in PHP
Occasionally, you may need to arbitrarily reindex an array of data in PHP. WordPress doesn’t really provide a function for doing this, so I put together this code snippet.