PageSourceSearch

https://eventifyus.com/wp-content/plugins/mavencart-shortcode//js/whatsapp-trigger.js

js eventifyus.com collected 2026-09-24 13:57:49 UTC 1,015 bytes, 29 lines download raw bytes

1jQuery(document).ready(function() {
2    jQuery('.resend-whatsapp').on('click', function(e) {
3        e.preventDefault();
4
5        var event_order_detail_id = jQuery(this).data('order-id');
6        console.log(event_order_detail_id);
7
8        jQuery.ajax({
9            url: ajax_object.ajax_url,
10            type: 'POST',
11            data: {
12                action: 'resend_whatsapp_message',
13                nonce: ajax_object.nonce,
14                event_order_detail_id: event_order_detail_id 
15            },
16            success: function(response) {
17                if (response.success) {
18                    alert('Whatsapp message Sent');
19                } else {
20                    alert('Error: ' + response.data.message);
21                }
22            },
23            error: function(xhr, status, error) {
24                console.error('AJAX Error:', error);
25                alert('An error occurred while sending the WhatsApp message.');
26            }
27        });
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.