WP HOOKS
filtrod 5.5.0

theme_auto_update_setting_template

Args 1Plik wp-admin/themes.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the JavaScript template used to display the auto-update setting for a theme (in the overlay).

See {@see \wp_prepare_themes_for_js()} for the properties of the data object.

Parametry

ParametrTypOpis
$templatestringThe template for displaying the auto-update setting link.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'theme_auto_update_setting_template', 'twoja_funkcja' );

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

Popularne w tej kategorii