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