File "Rate_Limited_Request.php"
Full Path: /home/warrior1/public_html/languages/wp-content/plugins/facebook-for-woocommerce/includes/API/Traits/Rate_Limited_Request.php
File size: 635 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
*/
namespace SkyVerge\WooCommerce\Facebook\API\Traits;
defined( 'ABSPATH' ) or exit;
/**
* Rate limited request trait.
*
* @since 2.0.0
*/
trait Rate_Limited_Request {
/**
* Gets the ID of this request for rate limiting purposes.
*
* @since 2.0.0
*
* @return string
*/
public static function get_rate_limit_id() {
return 'graph_api_request';
}
}