jetpack_device_detection_get_info

jetpack_device_detection_get_info

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wp-super-cache.2.0.0

apply_filters('jetpack_device_detection_get_info') is found 1 times:

  • /vendor/automattic/jetpack-device-detection/src/class-device-detection.php line 93
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
         * @param array           $info    Array of device information.
         * @param string          $ua      User agent string passed to Device_Detection::get_info.
         * @param User_Agent_Info $ua_info Instance of Automattic\Jetpack\Device_Detection\User_Agent_Info.
         */
        $info = apply_filters( 'jetpack_device_detection_get_info', $info, $ua, $ua_info );
    }
     
    // Memoize the result.
    self::$get_info_memo[ $memo_key ] = $info;
    if ( count( self::$get_info_memo ) > self::$max_memo_size ) {
        array_shift( self::$get_info_memo );