ap_whitelist_array( array $master_keys, array $arr )
Description #
Whitelist array items.
Parameters #
- $master_keysarray (Required) Master keys.
- $arrarray (Required) Array to filter.
Source #
File: includes/functions.php
function ap_whitelist_array( $master_keys, $arr ) { return array_intersect_key( $arr, array_flip( $master_keys ) ); }
Expand full source code Collapse full source code View on GitHub: includes/functions.php:1097
Add your comment