Error thrown

Call to undefined function wc_get_product_visibility_term_ids()