filtrod 3.1.0
show_recent_comments_widget_style
Opis — z kodu źródłowego
Filters the Recent Comments default widget styles.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$active | bool | Whether the widget is active. Default true. |
$id_base | string | The widget ID. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'show_recent_comments_widget_style', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'show_recent_comments_widget_style', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii