Correct Approach for Validating Custom Field Input

Example code in add_meta_box() documentation uses save_post hook (at the very end of wp_insert_post() function) to add custom fields data from metabox.

You must be using something like that already in your metaboxes, is it not appropriate place to validate your data?..

Leave a Comment