Closed dbareis closed 1 year ago
I'm not sure why it doesn't always fail but I believe I found the cause, this was my filter command:
add_filter('pods_api_post_save_pod_item_plant', 'PLANT_post_save_function', 10, 2);
Where it should have been (2->3):
add_filter('pods_api_post_save_pod_item_plant', 'PLANT_post_save_function', 10, 3);
I'll close this, if I see it again, I'll open a new one.
As above
Description
RE: https://docs.pods.io/code/action-reference/pods_api_post_save_pod_item_podname/
The documentation shows 3 parameters, 3 parameters are sometimes passed, as the function doesn't always fail.
Line 214 is: function PLANT_post_save_function($pieces, $is_new_item, $id)
Version
2.9.13
Testing Instructions
Save a "plant" pod after adding:
Screenshots / Screencast
No response
Possible Workaround
No response
Site Health Information
Pods Package