fixes the error in checkDependencies() caused by an undefined function.
fixes the error in checkDependencies() caused by an undefined function.

flagshipcompany/flagship-for-woocommerce,flagshipcompany/flagship-for-woocommerce,flagshipcompany/flagship-for-woocommerce