An API for creating and processing forms in WordPress