filtrod 2.5.1
post_date_column_time
Opis — z kodu źródłowego
Filters the published, scheduled, or unpublished time of the post.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$t_time | string | The published time. |
$post | \WP_Post | Post object. |
$column_name | string | The column name. |
$mode | string | The list display mode ('excerpt' or 'list'). |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'post_date_column_time', '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( 'post_date_column_time', 'twoja_funkcja', 10, 4 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4) {
// Twój kod
}Popularne w tej kategorii