WordPress at a glance
action is not described

ms_network_not_found action-hook . WP 4.4.0

Fires when a network cannot be found based on the requested domain and path.

At the time of this action, the only recourse is to redirect somewhere and exit. If you want to declare a particular network, do so earlier.


add_action( 'ms_network_not_found', 'action_function_name_1866', 10, 2 );
function action_function_name_1866( $domain, $path ){
	// action...
The domain used to search for a network.
The path used to search for a path.

Список изменений

С версии 4.4.0 Введена.

Где вызывается хук

wp-includes/ms-load.php 357
do_action( 'ms_network_not_found', $domain, $path );
wp-includes/ms-load.php 385
do_action( 'ms_network_not_found', $domain, $path );

Где используется хук в ядре WordPress

Использование не найдено.