Skip to content
Snippets Groups Projects
Select Git revision
  • 08b0068a3aeb313aa6896215002aa42993afa940
  • master default protected
  • devel
  • feature/add-escaping-to-templates
  • feature/add-priority-sorting
  • 3.3.0
  • 3.2.1
  • 3.2.0
  • 3.1.0
  • 3.0.0
  • 2.4.12
  • 2.4.11
  • 2.4.10
  • 2.4.9
  • 2.4.8
  • 2.4.7
  • 2.4.6
  • 2.4.5
  • 2.4.4
  • 2.4.2
  • 2.4.1
  • 2.4.0
  • 2.3.2
  • 2.3.1
  • 2.3
25 results

HtmlAttributes.php

Blame
  • notice.js 596 B
    jQuery( document ).on( 'click', '.notice-dismiss', function() {
        var notice_name = jQuery(this).closest('div.notice').data('notice-name');
        if ('' !== notice_name) {
            jQuery.ajax({
                url: ajaxurl,
                type: 'post',
                data: {
                    action: 'wpdesk_notice_dismiss',
                    notice_name: notice_name
                },
                success: function (response) {
                }
            });
        }
    });
    
    jQuery( document ).on( 'click', '.notice-dismiss-link', function() {
        jQuery(this).closest('div.notice').find('.notice-dismiss').click();
    });