Meta Box
Support Forum
Support › General › Remote Validation and post idResolved
In regard to this topic. https://support.metabox.io/topic/validation-for-data-uniqueness/#post-24751
How do I check the id of the post that is sending remote validation in PHP?
Hi,
Only the pair field_id = field value will be passed to the admin-ajax, screenshot https://share.getcloudapp.com/4gu1pgyY.
field_id = field value
So it's not possible to check the post ID of the post sending remote validation in PHP.
Would you add an option to send the post id in future release? I think the post id is often needed.
I will inform the developer team to explore the possibility. Thank you.