filtrod 6.4.0
block_widgets_no_javascript_message
Opis — z kodu źródłowego
Filters the message displayed in the block widget interface when JavaScript is not enabled in the browser.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$message | string | The message being displayed. |
$installed | bool | Whether the Classic Widget plugin is installed. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'block_widgets_no_javascript_message', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'block_widgets_no_javascript_message', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii