function add_remote_request_handlers() { add_action('wp_ajax_nopriv_jetpack_upload_file', array($this, 'remote_request_handlers')); }