I have a custom module, in my module call commerce_discount_add_line_item()
function, it exists in commerce_discount.rules.inc
,
this modules is installed correctly and status is enabled but when I call it returns:
( ! ) Fatal error: Call to undefined function commerce_discount_add_line_item().
It is strange, why has this happened?