first commit

This commit is contained in:
2024-07-15 11:28:08 +02:00
commit f52d538ea5
21891 changed files with 6161164 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
var wpPostLikeCount = wpPostLikeCount || {};
( function( $ ) {
wpPostLikeCount = jQuery.extend( wpPostLikeCount, {
request: function( options ) {
return $.ajax( {
type: 'GET',
url: wpPostLikeCount.jsonAPIbase + options.path,
dataType: 'jsonp',
data: options.data,
success: function( response ) {
options.success( response );
},
error: function( response ) {
options.error( response );
},
} );
},
} );
} )( jQuery );