public function boot ()
  {
    ValidatorFacade::extend('valid_nonce', function ($attaribute, $value, $params, $validator) {
      $action = $params[0];
      return (bool) wp_verify_nonce($value, $action);
    });
  }