Basic privacy class from #19330
This commit is contained in:
parent
d8814f9381
commit
6598f6dc61
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
/**
|
||||
* Privacy/GDPR related functionality which ties into WordPress functionality.
|
||||
*
|
||||
* @since 3.4.0
|
||||
* @package WooCommerce\Classes
|
||||
*/
|
||||
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
|
||||
/**
|
||||
* WC_Privacy Class.
|
||||
*/
|
||||
class WC_Privacy {
|
||||
|
||||
/**
|
||||
* Init - hook into events.
|
||||
*/
|
||||
public static function init() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
WC_Privacy::init();
|
|
@ -326,6 +326,7 @@ final class WooCommerce {
|
|||
include_once WC_ABSPATH . 'includes/class-wc-cart-totals.php';
|
||||
include_once WC_ABSPATH . 'includes/customizer/class-wc-shop-customizer.php';
|
||||
include_once WC_ABSPATH . 'includes/class-wc-regenerate-images.php';
|
||||
include_once WC_ABSPATH . 'includes/class-wc-privacy.php';
|
||||
|
||||
/**
|
||||
* Data stores - used to store and retrieve CRUD object data from the database.
|
||||
|
|
Loading…
Reference in New Issue