WP HOOKS
filtrdynamicznyod 3.1.0

network_sites_updated_message_{$action}

Args 1Plik wp-admin/network/sites.php

Opis — z kodu źródłowego

Filters a specific, non-default, site-updated message in the Network admin.

The dynamic portion of the hook name, $action, refers to the non-default site update action.

Parametry

ParametrTypOpis
$msgstringThe update message. Default 'Settings saved'.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'network_sites_updated_message_{$action}', 'twoja_funkcja' );

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