Commit d83ea70e by rajshah

feat: download count in resource detail v0.3

parent 70ff96ab
......@@ -347,7 +347,7 @@ jQuery(document).ready(function ($) {
const resourceId = $(this).data('resource-id');
$.ajax({
url: ajax_object.ajax_url,
url: frontend_ajax_object.ajax_url,
type: 'POST',
data: {
action: 'increment_download_count',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment