WP HOOKS
filtrod 6.4.0

block_widgets_no_javascript_message

Args 2Plik wp-admin/widgets-form-blocks.phpDokumentacja WP ↗

Opis — z kodu źródłowego

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

Parametry

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

Popularne w tej kategorii