WP HOOKS
filtrod 2.3.0

wp_tag_cloud

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

Opis — z kodu źródłowego

Filters the tag cloud output.

Parametry

ParametrTypOpis
$returnstring | string[]Tag cloud as a string or an array, depending on 'format' argument.
$argsarrayAn array of tag cloud arguments. See wp_tag_cloud() for information on accepted arguments.

Wywołanie

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

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

Popularne w tej kategorii