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