MOON
Server: Apache
System: Linux server.netcommlabs.in 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64
User: dermova (1051)
PHP: 5.4.45
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/dermova/public_html/me/wp-content/plugins/feed-them-social/admin/js/admin.js
jQuery(document).ready(function() {
   
    jQuery("#wp-admin-bar-feed_them_social_admin_bar-default li:first-child a").click(function() {
		//alert('etf');
        console.log('Click Clear Cache Function');
     
        jQuery.ajax({
            data: {action: "fts_clear_cache_ajax" },
            type: 'POST',
            url: ftsAjax.ajaxurl,
            success: function( response ) { 
			//	jQuery('body').hide();
				console.log('Well Done and got this from sever: ' + response);
				// alert and upon clicking refresh the page
				if(!alert('Cache for all FTS Feeds cleared!')){window.location.reload();}

				return false;
			}
        }); // end of ajax()
        return false;
    }); // end of document.ready
}); // end of form.submit