File "Request.php"
Full Path: /home/vantageo/public_html/cache/cache/.wp-cli/wp-content/plugins/facebook-for-woocommerce/includes/API/ProductCatalog/Products/Delete/Request.php
File size: 600 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
declare( strict_types=1 );
namespace WooCommerce\Facebook\API\ProductCatalog\Products\Delete;
use WooCommerce\Facebook\API\Request as ApiRequest;
defined( 'ABSPATH' ) || exit;
/**
* Request object for Product Catalog > Products > Delete Graph Api.
*
* @link https://developers.facebook.com/docs/marketing-api/reference/product-item/#Deleting
*/
class Request extends ApiRequest {
/**
* @param string $facebook_product_id Facebook Product Group ID.
*/
public function __construct( string $facebook_product_id ) {
parent::__construct( "/{$facebook_product_id}", 'DELETE' );
}
}