WP HOOKS
filtrod 3.6.0

widget_meta_poweredby

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

Opis — z kodu źródłowego

Filters the "WordPress.org" list item HTML in the Meta widget.

Parametry

ParametrTypOpis
$htmlstringDefault HTML for the WordPress.org list item.
$instancearrayArray of settings for the current widget.

Wywołanie

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

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

Popularne w tej kategorii