Open dbareis opened 1 year ago
If I create a plant using save(), it is always false (I'm logging the value), I have recently updated that code to use add() and that does pass true. Still false when I create a plant with "new->Plant".
RE: add_filter('pods_api_pre_save_pod_item_plant', 'PLANT_pre_save_function', 10, 3);
When I created the plant with save() it also ran "PLANT_pre_save_function()", when add() used it doesn't... Is that also expected behaviour? If so is there another hook I should use as well?
Description
The second parameter ($is_new) is never true when created pods by code or manually adding via UI ("new plant"). I log the value and have never seen it conatin anything but 'false'.
Version
2.9.13
Testing Instructions
No response
Screenshots / Screencast
No response
Possible Workaround
No response
Site Health Information
Pods Package