WP HOOKS
filtrod 6.3.0

site_editor_no_javascript_message

Args 2Plik wp-admin/site-editor.phpDokumentacja WP ↗

Opis — z kodu źródłowego

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

Parametry

ParametrTypOpis
$messagestringThe message being displayed.
$post\WP_PostThe post being edited.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'site_editor_no_javascript_message', 'twoja_funkcja', 10, 2 );

function twoja_funkcja($param_1, $param_2) {
	// Twój kod
}

Popularne w tej kategorii