jetpack_device_detection_get_info, $info, $ua, $ua_info

jetpack_device_detection_get_info, $info, $ua, $ua_info

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_device_detection_get_info, $info, $ua, $ua_info') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-device-detection/src/class-device-detection.php line 93
    			 * @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 );