filtrod 6.0.0
media_date_column_time
Opis — z kodu źródłowego
Filters the published time of an attachment displayed in the Media list table.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$h_time | string | The published time. |
$post | \WP_Post | Attachment object. |
$column_name | string | The column name. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'media_date_column_time', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'media_date_column_time', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}Popularne w tej kategorii