Avatar of curiouswebster
curiouswebsterFlag for United States of America

asked on 

WordPress, WPForms and PHP?

I am using the Pro version of WP Forms and see how I can create and customize forms, then drop them into pages and Preview them. But, I am not sure how to find where I can insert PHP?

I need PHP on the page, so I can interact with my own MySQL Contacts table, and for various other tasks.

But, I do not see where I can insert PHP.

Can someone please give me the hook? Do I need to track down the PHP source files in the various folders of source code? If so, how do I do that?

Thanks
Web DevelopmentPHPWeb Languages and StandardsWordPressWeb Development Software

Avatar of undefined
Last Comment
Scott Fell
ASKER CERTIFIED SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of curiouswebster

ASKER

I do not have a child theme, as far as I know. So, into which functions.php do I add my test shortcode?

User generated image
/includes?
/includes/admin/builder?

Also, you said to add the shortcode to the text box. Is this in the WordPress Form, I would associate an individual fields with the shortcode?

(Sorry, I am having a hard time with the context, at the moment, fitting together the various parts. Once I get past those details, the glue, coding the body of these functions should be easier for me.)

Thanks
SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of curiouswebster

ASKER

Would the functions.php contain just thing I add?
SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
SOLUTION
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
PHP
PHP

PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.

125K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo