PageSourceSearch

https://theneomag.com/wp-content/plugins/woocommerce-product-feeds…/js/dismissible-wp-notices.js?ver=1.0

js theneomag.com collected 2026-10-04 05:25:48 UTC 733 bytes, 29 lines download raw bytes

1function ademti_dismissible_wp_notices_handle( elem, action ) {
2	const slug = jQuery( elem ).data( 'ademti-notice-slug' );
3	if ( slug === '' ) {
4		return;
5	}
6	const data = {
7		action: action,
8		slug: slug,
9		nonce: dismissibleWpNotices.nonce,
10	};
11	jQuery.ajax(
12		{
13			type: 'POST',
14			url: dismissibleWpNotices.ajaxUrl,
15			data: data
16		}
17	);
18	jQuery( elem ).closest('.notice').fadeOut();
19	return;
20}
21
22jQuery( function () {
23	jQuery( '.ademti-dismiss' ).on( 'click', function ( e ) {
24		ademti_dismissible_wp_notices_handle( this, 'ademti_dismissible_wp_notices_dismiss' );
25	} );
26	jQuery( '.ademti-snooze' ).on( 'click', function ( e ) {
27		ademti_dismissible_wp_notices_handle( this, 'ademti_dismissible_wp_notices_snooze' );
28	} );
29} );

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.