Title: Integrate with PHP?
Last modified: August 28, 2021

---

# Integrate with PHP?

 *  Resolved [pcgardner](https://wordpress.org/support/users/pcgardner/)
 * (@pcgardner)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/integrate-with-php/)
 * Is it possible to integrate Popup Maker with PHP code? What I want to do (in 
   a WordPress plugin) is to call a popup containing a simple form with an input
   box and a submit button, then when the user has input some text and submitted
   the form the value of the text string should be returned to the PHP code of the
   plugin.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [mark l chaves](https://wordpress.org/support/users/mlchaves/)
 * (@mlchaves)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/integrate-with-php/#post-14821383)
 * Hello [@pcgardner](https://wordpress.org/support/users/pcgardner/),
 * That’s a great question.
 * Before writing custom code to display a popup, can you please check if our triggers
   can handle your use case first?
 * [https://docs.wppopupmaker.com/article/545-a-beginners-guide-to-popup-triggers](https://docs.wppopupmaker.com/article/545-a-beginners-guide-to-popup-triggers)
 * If you absolutely need to write custom code to launch a popup, have a look at
   this doc next.
 * [https://docs.wppopupmaker.com/article/84-getting-started-with-custom-js](https://docs.wppopupmaker.com/article/84-getting-started-with-custom-js)
 * Here’s a basic template you can use for writing jQuery to call a popup via a 
   PHP hook.
 * [https://gist.github.com/marklchaves/34ee7dcf3734bc59a898557bc188f02b](https://gist.github.com/marklchaves/34ee7dcf3734bc59a898557bc188f02b)
 * For sending values on a form submit, we think you should use [hidden form fields](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/hidden).
   Here’s an example of sending a hidden field via a Mailchimp form inside a Popup
   Maker popup.
 * [https://gist.github.com/marklchaves/da0ab6412986d1085e52dacca83c6851](https://gist.github.com/marklchaves/da0ab6412986d1085e52dacca83c6851)
 * Please let us know if you have any questions.
 * Cheers!
 * Mark
 *  Thread Starter [pcgardner](https://wordpress.org/support/users/pcgardner/)
 * (@pcgardner)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/integrate-with-php/#post-14823796)
 * Thanks very much for that helpful reply. I’ll read the links you’ve suggested
   and get back to you.
 *  [Maria T](https://wordpress.org/support/users/mariatogonon/)
 * (@mariatogonon)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/integrate-with-php/#post-14827369)
 * Hello [@pcgardner](https://wordpress.org/support/users/pcgardner/) – on behalf
   of Mark, you are welcome!😊
 * We hope everything goes well on your end. In case you have further questions 
   or concerns, you can always reach us back.
 * Have a great day!

Viewing 3 replies - 1 through 3 (of 3 total)

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

 * ![](https://ps.w.org/popup-maker/assets/icon-256x256.gif?rev=3097653)
 * [Popup Maker - Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder](https://wordpress.org/plugins/popup-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popup-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popup-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/popup-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popup-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popup-maker/reviews/)

## Tags

 * [input form](https://wordpress.org/support/topic-tag/input-form/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 3 replies
 * 3 participants
 * Last reply from: [Maria T](https://wordpress.org/support/users/mariatogonon/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/integrate-with-php/#post-14827369)
 * Status: resolved