Amit
  • Home
  • Month: July 2022

Photo-about
WooCommerce, WordPress

How to insert contact form 7 data into mysql database in wordpress

First you need to Create a table and add fields example “contacts” and table fields are below id , form_id, first_name, last_name, email_id, phone_no, subject, message, date if you not able to create any table. just copy the below code and pest in to your functions.php file function ab_create_table_contact_form() {…

Learn More

By Amit Bera

2 years ago
Share
Comments
WordPress

How to get current page slug and post slug

get current page slug get current post slug if you want to compare current page and post slug

Learn More

By Amit Bera

2 years ago
Share
Comments
WordPress

How to Send an Email on ACF Form Submission

The following code emails a particular person whenever an ACF Form is submitted. It’s a slight modification of the example at the bottom of this page. Since I’m dealing with three forms with different fields, I do some if statements to gather and append various fields if they exist. In this…

Learn More

By Amit Bera

2 years ago
Share
Comments
View more