ericsicons
ericsicons

Reputation: 1495

How to create an entry with PHP in Wordpress Gravity Forms

There is a form on a site that I am working on which I would like to be able to submit entries for from the back-end with PHP. The gravity forms mysql tables should be updated exactly the same way as if a user submitted an entry from the HTML form. Does Gravity forms provide a class to do this?

Upvotes: 1

Views: 3168

Answers (1)

Naomi
Naomi

Reputation: 565

Absolutely. The Gravity Forms API is your friend here, and you'll want to use the add_entry function.

Upvotes: 4

Related Questions