WP HOOKS
filtrod 0.71

bloginfo

Args 2Plik wp-includes/general-template.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the site information returned by get_bloginfo().

Parametry

ParametrTypOpis
$outputmixedThe requested non-URL site information.
$showstringType of information requested.

Wywołanie

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

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

Popularne w tej kategorii