Skip to content
This repository was archived by the owner on Jun 15, 2022. It is now read-only.

Commit cdee9bd

Browse files
committed
Add class comments throughout the plugin to appease PHP_CodeSniffer
1 parent 6fe5eb1 commit cdee9bd

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

includes/class-wc-custom-order-table-cli.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
* @author Liquid Web
77
*/
88

9+
/**
10+
* Manages the contents of the WooCommerce order table.
11+
*/
912
class WC_Custom_Order_Table_CLI extends WP_CLI_Command {
1013

1114
/**

includes/class-wc-custom-order-table-install.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
* @author Liquid Web
77
*/
88

9+
/**
10+
* Installer for WooCommerce Custom Order Tables.
11+
*
12+
* Usage:
13+
*
14+
* WC_Custom_Order_Table_Install::activate();
15+
*/
916
class WC_Custom_Order_Table_Install {
1017

1118
/**

includes/class-wc-custom-order-table.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
* @author Liquid Web
77
*/
88

9+
/**
10+
* Core functionality for WooCommerce Custom Order Tables.
11+
*/
912
class WC_Custom_Order_Table {
1013

1114
/**

includes/class-wc-order-data-store-custom-table.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22
/**
33
* WooCommerce order data store.
44
*
5-
* Orders are still treated as posts within WordPress, but the data is stored in a separate table.
6-
*
75
* @package WooCommerce_Custom_Order_Tables
86
* @author Liquid Web
97
*/
108

9+
/**
10+
* Extension of the Abstract_WC_Order_Data_Store_CPT class, designed to map data between
11+
* WooCommerce and the custom database table.
12+
*
13+
* Orders are still treated as posts within WordPress, but the data is stored in a separate table.
14+
*/
1115
class WC_Order_Data_Store_Custom_Table extends Abstract_WC_Order_Data_Store_CPT implements WC_Object_Data_Store_Interface, WC_Order_Data_Store_Interface {
1216

1317
/**

0 commit comments

Comments
 (0)