Add new add_error function to save_post hooks