filtrod 4.8.0
post_date_column_status
Opis — z kodu źródłowego
Filters the status text of the post.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$status | string | The status text. |
$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_status', '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_status', 'twoja_funkcja', 10, 4 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4) {
// Twój kod
}Popularne w tej kategorii