[add] post process function can be added to options (for product custom attribute only)

(PHP >= 5.3 required,
otherwise function needed to be declared in the config file)