function update_comments_count(comment_data, comment_action) { jQuery.ajax({ type: 'GET', dataType: 'json', url: 'https://games-mag.de/wp-admin/admin-ajax.php', data: { action: 'clear_better_facebook_ comments', post_id: '233265' }, success: function (data) { // todo sync comments count here! data have the counts }, error: function (i, b) { // todo } } ) }; };
appendFbScript(); }
appendFbScript();
})();