WP HOOKS
filtrod 5.5.0

theme_auto_update_debug_string

Args 3Plik wp-admin/includes/class-wp-debug-data.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the text string of the auto-updates setting for each theme in the Site Health debug data.

Parametry

ParametrTypOpis
$auto_updates_stringstringThe string output for the auto-updates column.
$theme\WP_ThemeAn object of theme data.
$enabledboolWhether auto-updates are enabled for this item.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'theme_auto_update_debug_string', 'twoja_funkcja', 10, 3 );

function twoja_funkcja($param_1, $param_2, $param_3) {
	// Twój kod
}

Popularne w tej kategorii