Basic privacy class from #19330

This commit is contained in:
Mike Jolley 2018-04-17 12:25:03 +01:00
parent d8814f9381
commit 6598f6dc61
2 changed files with 25 additions and 0 deletions

View File

@ -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();

View File

@ -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.