In this article

filter

videopress_get_video_details

Allow functions to modify fetched video details. This filter allows third-party code to modify the return data about a given video. It may involve swapping some data out or adding new parameters.

Parameters

$data
object

The data returned by the WPCOM API. See: https://developer.wordpress.com/docs/api/1.1/get/videos/%24guid/

$guid
string

The GUID of the VideoPress video in question.

Changelog

How to use this hook

See “How to use actions and filters to customize Jetpack”.