WP HOOKS
filtrod 2.8.0

widget_tag_cloud_args

Args 2Plik wp-includes/widgets/class-wp-widget-tag-cloud.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the taxonomy used in the Tag Cloud widget.

Parametry

ParametrTypOpis
$argsarrayArgs used for the tag cloud widget.
$instancearrayArray of settings for the current widget.

Wywołanie

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

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

Popularne w tej kategorii