cached_mobile_groups
Usage
add_filter( 'cached_mobile_groups', 'wp_kama_cached_mobile_groups_filter' );
/**
* Function for `cached_mobile_groups` filter-hook.
*
* @param $array
*
* @return
*/
function wp_kama_cached_mobile_groups_filter( $array ){
// filter...
return $array;
}
- $array
- -
Where the hook is called
wp-super-cache/wp-cache.php 1004
$mobile_groups = apply_filters( 'cached_mobile_groups', array() ); // Group mobile user agents by capabilities. Lump them all together by default