filtrod 1.5.0
manage_posts_columns
Opis — z kodu źródłowego
Filters the columns displayed in the Posts list table.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$posts_columns | string[] | An associative array of column headings. |
$post_type | string | The post type slug. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'manage_posts_columns', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'manage_posts_columns', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii