Title: Insert Form with PHP?
Last modified: June 7, 2017

---

# Insert Form with PHP?

 *  [seveninstl](https://wordpress.org/support/users/seveninstl/)
 * (@seveninstl)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/insert-form-with-php/)
 * I have a situation where I want to display a different lead form based on the
   region returned with an IP look up. I would like to do this by inserting the 
   form id/name using PHP in my functions.php file. Is this possible?

The topic ‘Insert Form with PHP?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/landing-pages_88766e.svg)
 * [WordPress Landing Pages](https://wordpress.org/plugins/landing-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/landing-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/landing-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/landing-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/landing-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/landing-pages/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [seveninstl](https://wordpress.org/support/users/seveninstl/)
 * Last activity: [8 years, 12 months ago](https://wordpress.org/support/topic/insert-form-with-php/)
 * Status: not resolved