Skip to content

Commit 66b8427

Browse files
committed
update: make the function for has_only_tax_functionality() as public
1 parent a162940 commit 66b8427

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

woocommerce-services.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1937,7 +1937,7 @@ private static function _has_any_labels_db_check() {
19371937
*
19381938
* @return bool True if the store is configured for tax-only functionality, false otherwise.
19391939
*/
1940-
private function has_only_tax_functionality() {
1940+
public function has_only_tax_functionality() {
19411941
return ( WC_Connect_Jetpack::is_connected() && '1' === WC_Connect_Options::get_option( 'only_tax' ) ) ||
19421942
( ! WC_Connect_Jetpack::is_connected() && ! self::_has_any_labels_db_check() );
19431943
}

0 commit comments

Comments
 (0)