This commit is contained in:
2026-07-02 15:54:39 -06:00
commit 9883323161
17470 changed files with 4470592 additions and 0 deletions
@@ -0,0 +1,20 @@
window.wpPostLikeCount = window.wpPostLikeCount || {};
( function ( $ ) {
window.wpPostLikeCount = jQuery.extend( window.wpPostLikeCount, {
request: function ( options ) {
return $.ajax( {
type: 'GET',
url: window.wpPostLikeCount.jsonAPIbase + options.path,
dataType: 'jsonp',
data: options.data,
success: function ( response ) {
options.success( response );
},
error: function ( response ) {
options.error( response );
},
} );
},
} );
} )( jQuery );