diff options
Diffstat (limited to 'plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-woocommerce.php')
-rw-r--r-- | plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-woocommerce.php | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-woocommerce.php b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-woocommerce.php index 1c336342..0cbecb48 100644 --- a/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-woocommerce.php +++ b/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/class-woocommerce.php @@ -58,6 +58,17 @@ class WooCommerce extends Module { private $order_item_table_name; /** + * The table in the database. + * + * @access public + * + * @return string + */ + public function table_name() { + return $this->order_item_table_name; + } + + /** * Constructor. * * @global $wpdb @@ -270,7 +281,7 @@ class WooCommerce extends Module { * @param array $config Full sync configuration for this sync module. * @return string WHERE SQL clause. */ - private function get_where_sql( $config ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable + public function get_where_sql( $config ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable return '1=1'; } |