WP HOOKS
filtrod 6.4.0

wp_admin_notice_markup

Args 3Plik wp-includes/functions.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the markup for an admin notice.

Parametry

ParametrTypOpis
$markupstringThe HTML markup for the admin notice.
$messagestringThe message for the admin notice.
$argsarrayThe arguments for the admin notice.

Wywołanie

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

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

Popularne w tej kategorii