src/Hametuha/GapiWP/Service/Prototype.php
protected function show_message($msg, $error = false){
		add_action("admin_notices", function() use($msg, $error){
			printf('<div class="%s"><p>%s</p></div>', $error ? 'error' : 'updated', esc_html($msg) );
		});
	}
protected function show_message($msg, $error = false){
		add_action("admin_notices", function() use($msg, $error){
			printf('<div class="%s"><p>%s</p></div>', $error ? 'error' : 'updated', esc_html($msg) );
		});
	}
protected function show_message ( $ msg , $ error = false ) { add_action ( "admin_notices" , function ( ) use ( $ msg , $ error ) { printf ( '<div class="%s"><p>%s</p></div>' , $ error ? 'error' : 'updated' , esc_html ( $ msg ) ) ; } ) ; }
Show message on admin screen

@param string $msg
@param bool $error
Show message on admin screen