1/* 2* Create a JS script to record post views using ajax endpoint 3* */ 4jQuery(document).ready(function() { 5 record_view(); 6}); 7 8function record_view() { 9 let data = { 10 action: 'record_post_views', 11 post_id: record_views.post_id, 12 nonce: record_views.nonce, 13 }; 14 jQuery.post(ajax_object.ajax_url, data, function(response) { 15 console.log(response); 16 }); 17}
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.