Error thrown

Call to undefined function wc_get_loop_prop()