Error thrown

Call to undefined function woocommerce_subcats_from_parentcat_by_ID()