WP HOOKS
akcjareferencjaod 2.2.0

phpmailer_init

Args 1Plik wp-includes/pluggable.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Fires after PHPMailer is initialized.

Parametry

ParametrTypOpis
$phpmailer\PHPMailerThe PHPMailer instance (passed by reference).

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_action( 'phpmailer_init', 'twoja_funkcja' );

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

Popularne w tej kategorii