WP HOOKS
filtrod 3.7.0

automatic_updates_send_debug_email

Args 1Plik wp-admin/includes/class-wp-automatic-updater.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters whether to send a debugging email for each automatic background update.

Parametry

ParametrTypOpis
$development_versionboolBy default, emails are sent if the install is a development version. Return false to avoid the email.

Wywołanie

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

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

Popularne w tej kategorii