filtrod 3.1.0
theme_row_meta
Opis — z kodu źródłowego
Filters the array of row meta for each theme in the Multisite themes list table.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$theme_meta | string[] | An array of the theme's metadata, including the version, author, and theme URI. |
$stylesheet | string | Directory name of the theme. |
$theme | \WP_Theme | WP_Theme object. |
$status | string | Status of the theme. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'theme_row_meta', '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( 'theme_row_meta', 'twoja_funkcja', 10, 4 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4) {
// Twój kod
}Popularne w tej kategorii