WP HOOKS
filtrod 5.0.3

block_editor_no_javascript_message

Args 3Plik wp-admin/edit-form-blocks.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the message displayed in the block editor interface when JavaScript is not enabled in the browser.

Parametry

ParametrTypOpis
$messagestringThe message being displayed.
$post\WP_PostThe post being edited.
$installedboolWhether 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
}

Popularne w tej kategorii