File "fbasync.php"

Full Path: /home/warrior1/public_html/plugins/facebook-for-woocommerce/includes/fbasync.php
File size: 853 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
// phpcs:ignoreFile
/**
 * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
 *
 * This source code is licensed under the license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @package FacebookCommerce
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! class_exists( 'WP_Async_Request', false ) ) {
	// Do not attempt to create this class without WP_Async_Request
	return;
}

if ( ! class_exists( 'WC_Facebookcommerce_Async_Request' ) ) :

	/**
	 * FB Graph API async request
	 */
	class WC_Facebookcommerce_Async_Request extends WP_Async_Request {

		protected $action = 'wc_facebook_async_request';

		/**
		 * Handle
		 *
		 * Override this method to perform any actions required
		 * during the async request.
		 */
		protected function handle() {
			// Actions to perform
		}

	}

endif;