/**
  * Handle update messages.
  *
  * @return void
  */
 public function show_update_message()
 {
     global $hook_suffix;
     if (empty($hook_suffix) || $this->page_hook !== $hook_suffix) {
         return;
     }
     if (!isset($_GET['message'])) {
         return;
     }
     $msg = __('Settings saved.', 'multilingual-press');
     $notice = new Mlp_Admin_Notice($msg, array('class' => 'updated'));
     $notice->show();
 }
 /**
  * Admin notices.
  *
  * @return void
  */
 private function show_update_message()
 {
     if (empty($_GET['msg']) or 'updated' !== $_GET['msg']) {
         return;
     }
     $msg = esc_html__('Settings saved.', 'multilingualpress');
     $notice = new Mlp_Admin_Notice($msg, array('class' => 'updated'));
     $notice->show();
 }