/home/sylamedg/public_html/wp-content/themes/shop-toolkit/inc/about/js/about.min.js
!(function ($) {
  "use strict";
  $(document).ready(function ($) {
    $(".shop-kit-about-notice .btn-dismiss").on("click", function (e) {
      e.preventDefault();
      var $this = $(this),
        userid = $(this).data("userid"),
        nonce = $(this).data("nonce");
      $.ajax({
        type: "GET",
        dataType: "json",
        url: ajaxurl,
        data: {
          action: "shop_toolkit_dismiss",
          userid: userid,
          _wpnonce: nonce,
        },
        success: function (response) {
          !0 === response.status &&
            $this.parents(".shop-kit-about-notice").fadeOut("slow");
        },
      });
    });
  });
})(jQuery);