wphooks.info - network_sites_updated_message_{$action}

network_sites_updated_message_{$action}

(trunk - 5.0-alpha-42993)

*** New in trunk ***

The hook occurs in the following file:

wp-admin/network/sites.php:
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
			/**
			 * 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.
			 *
			 * @since 3.1.0
			 *
			 * @param string $msg The update message. Default 'Settings saved'.
			 */
			$msg = apply_filters( "network_sites_updated_message_{$action}", __( 'Settings saved.' ) );
			break;
	}

	if ( ! empty( $msg ) ) {
		$msg = '<div id="message" class="updated notice is-dismissible"><p>' . $msg . '</p></div>';
	}
}

$wp_list_table->prepare_items();