Due to a backwards-incompatible change in version 5.2, you can no longer retrieve the form’s meta data using get_posted_data()
.
Instead, you can use the id
value in the array returned by get_current()
:
$contact_form = WPCF7_ContactForm::get_current();
$contact_form_id = $contact_form -> id;
Related Posts:
- Can’t send mails using contact plugin [closed]
- In wordpress how to sent different email separetly when i click on different email ids [closed]
- Disable email notification after change of password
- Contact form 7 select box different value-text than content-text in option [closed]
- Unable to check if plugin is active
- Why “Contact Form 7” doesn’t update PHPmailer library?
- wp_mail and BCC headers
- Sending all emails using SMTP
- To Disable WordPress Rest API or Not To Disable?
- Send email when a new post is published [closed]
- Email Notifications of new posts to users – suggestions [closed]
- Using Advanced Custom Fields with WordPress and Lightbox
- How to store ACF custom fields data in a custom table
- Generate Advanced Custom Fields box in custom admin menu page
- How to add usermeta to “Notice of Email Change” email message
- Notify commenters about new replies
- Edit Imported advanced Custom Fields from wordpress Dashboard
- Visual Composer vs. Advanced Custom Fields [closed]
- ACF for audio url in wordpress audio shortcode
- Send batch of posts as HTML Email?
- Is there a plugin that allows a user of your site to get an email from you with an attachment?
- Contact Form 7 plugin refreshing page on submit [closed]
- Custom field in TWIG template – Advanced custom fields plugin
- How to disable autocomplete for inputs in contact form 7? [closed]
- Plugin for Sending Email to Readers about New Posts? (besides “Subscribe2 “)
- How to bulk send emails
- Server-side subscribe by email?
- Advanced Custom Fields query
- WP Mail SMTP: What do the SSL/TLS options mean? [closed]
- How do I add advanced custom fields / meta fields to Elasticsearch? [closed]
- wp_mail() is not working on server
- How to create Repeater fields using Advanced Custom Fields?
- Storing a password for use with a WordPress plugin
- A very basic question – how to properly use wp_mail() in a plugin
- WordPress plugin for mail subscriptions [closed]
- Is there a plugin to record querystring parameters for a page (for customer tracking)? [closed]
- Server side validation for Contact Form 7 [closed]
- Storing Email Account Passwords for SMTP Mailing for a WordPress Plugin
- action-scheduler vs wp-background-processing
- Easy Digital Downloads (EDD) – Purchase Receipt emails couldn’t be logged
- Loop with array of posts using ‘Advanced Custom Fields’ plugin [closed]
- Using ACF to display data on all pages
- WordPress sending emails continuously. How to stop it?
- wp_mail attachment not working
- Advanced Custom Fields/User Role Editor – how to hide ACF for certain users?
- Setting Custom Email From name and email address in wp_email()
- Last modified field for user profile?
- how to incude logo in contcat form 7 email [closed]
- Check if email address exists front end with AJAX in a plugin
- get values from contact form 7 wp plugin [closed]
- WP_Query ordering numbers as letters
- Add custom variable in Contact Form 7 mail body
- Woocommerce email template customization [closed]
- Sending email from inside a plugin using PHP PEAR
- Get post by ASC from custome field DATE picker
- Hook into and send mail using WP Mail SMTP type plugin from HTML static front page?
- Getting value from Advanced Custom Fields [closed]
- Download any file after submitting a form [closed]
- How can you include a theme template file from within a plugin (i.e. WooCommerce’s Shop page)?
- Inserting HTML tag with ACF into shortcode
- Email Bounce Address
- Advanced Custom Fields plugin – get text from editor field and save it in a variable
- WordPress Registration Email by Role
- Pull out Advanced Custom Fields in Related post plugin
- Using a post-signup hook to get user details
- Matching Chapters to a Custom posts [closed]
- Advanced Custom Fields displaying on tag pages
- Getting value from dymanic text variable into Contact Form 7
- How to escape the tailwindcss responsive syntax when using with contact form 7? [closed]
- Get sent emails without email logs
- How to send an automated email to the customers when product is added woocommerce
- Nextcloud integration with wordpress
- Custom Fields with Pods not being translated
- is there a way to link one of the field in ACF field group, to a field in a media attachment page? [closed]
- Looking for a way that will collect visitors emails before letting them view the blog posts [closed]
- Display encrypted content on my website
- How to remove the inline styles from the content of a WYSIWYG editor field at the time of saving the post?
- Send Contact form 7 data to remote server using .NET api [closed]
- Sending HTML emails via wp_mail not working properly
- add custom filters to the event calendar plugin programatically to frontend [closed]
- how to create progress bar in wordpress contact form 7 or other plugin for set progress bar in cf7 [closed]
- Can you use another Profile Builder shortcodes through advanced custom fields
- Send email when a portfolio project is updated
- dirname( __FILE__) returning wrong directory inside plugin
- Notify comment author upon reply
- Sync User to cPanel webmail?
- ACF: post query, hide duplicate values [closed]
- Redirect to another page using contact form 7? [closed]
- Paid Membership Pro with ACF [closed]
- How to pass variables to a function argument using add_action [duplicate]
- ACF only showing up in Homepage but doesn’t appears in all pages
- Advanced Custom Fields – Disable Users to Edit Custom Fields
- Is it possible to send blog posts via email to subscribers?
- Implementing an “Email this” button?
- Using ACF default value to autoincrement a number field
- Send admin an email when a user’s search has no results
- URLs Added to ACF Repeater Field are not working
- Advanced Custom Fields – Get value in other plugin file [closed]
- Contact Form 7 – Form name blank [closed]
- Slashes stripped in ACF