filtrod 3.6.0
widget_meta_poweredby
Opis — z kodu źródłowego
Filters the "WordPress.org" list item HTML in the Meta widget.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$html | string | Default HTML for the WordPress.org list item. |
$instance | array | Array 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
}
// 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