You appear to be a bot. Output may be restricted
Description
Retrieve ids that are not already present in the cache.
Usage
$array = _get_non_cached_ids( $object_ids, $cache_key );
Parameters
- $object_ids
- ( array ) required – ID list.
- $cache_key
- ( string ) required – The cache bucket to check against.
Returns
array List of ids not present in the cache.
Source
File name: wordpress/wp-includes/functions.php
Lines: 1 to 11 of 11
function _get_non_cached_ids( $object_ids, $cache_key ) { $clean = array(); foreach ( $object_ids as $id ) { $id = (int) $id; if ( !wp_cache_get( $id, $cache_key ) ) { $clean[] = $id; } } return $clean; }