WP HOOKS
filtrod 3.1.0

theme_row_meta

Args 4Plik wp-admin/includes/class-wp-ms-themes-list-table.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the array of row meta for each theme in the Multisite themes list table.

Parametry

ParametrTypOpis
$theme_metastring[]An array of the theme's metadata, including the version, author, and theme URI.
$stylesheetstringDirectory name of the theme.
$theme\WP_ThemeWP_Theme object.
$statusstringStatus 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
}

Popularne w tej kategorii