WP HOOKS
filtrod 3.2.0

browse-happy-notice

Args 2Plik wp-admin/includes/dashboard.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the notice output for the 'Browse Happy' nag meta box.

Parametry

ParametrTypOpis
$noticestringThe notice content.
$responsearray | falseAn array containing web browser information, or false on failure. See wp_check_browser_version().

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'browse-happy-notice', 'twoja_funkcja', 10, 2 );

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

Popularne w tej kategorii