You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
350 B
13 lines
350 B
jQuery(document).ready(function($) {
|
|
|
|
$( '.pp-404page-admin-notice' ).on( 'click', '.notice-dismiss', function ( event ) {
|
|
event.preventDefault();
|
|
data = {
|
|
action: 'pp_404page_dismiss_admin_notice',
|
|
pp_404page_dismiss_admin_notice: $( this ).parent().attr( 'id' )
|
|
};
|
|
$.post( ajaxurl, data );
|
|
return false;
|
|
});
|
|
|
|
}); |