filtrod 4.9.0
wp_read_video_metadata
Opis — z kodu źródłowego
Filters the array of metadata retrieved from a video.
In core, usually this selection is what is stored. More complete data can be parsed from the $data parameter.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$metadata | array | Filtered video metadata. |
$file | string | Path to video file. |
$file_format | string | null | File format of video, as analyzed by getID3. Null if unknown. |
$data | array | Raw metadata from getID3. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'wp_read_video_metadata', 'twoja_funkcja', 10, 4 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'wp_read_video_metadata', 'twoja_funkcja', 10, 4 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4) {
// Twój kod
}Popularne w tej kategorii