forked from facebook/facebook-for-woocommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfacebook-config-warmer.php
48 lines (43 loc) · 1.08 KB
/
facebook-config-warmer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
* 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
*/
defined( 'ABSPATH' ) || exit;
/**
* Class WC_Facebookcommerce_WarmConfig
*
* This class stores pre-configured Facebook Pixel settings that can be used
* to initialize the Facebook Pixel when user settings are not yet available.
* It serves as a configuration warmer for Facebook integration with WooCommerce.
*/
class WC_Facebookcommerce_WarmConfig {
/**
* Facebook Pixel ID for tracking
*
* @var string|null
*/
public static $fb_warm_pixel_id = null;
/**
* Whether advanced matching is enabled for the Facebook Pixel
*
* @var bool|null
*/
public static $fb_warm_is_advanced_matching_enabled = null;
/**
* Whether server-side (S2S) events are enabled
*
* @var bool|null
*/
public static $fb_warm_use_s2s = null;
/**
* Facebook API access token
*
* @var string|null
*/
public static $fb_warm_access_token = null;
}