Special Mail Tags only work in the_content()?
-
It’s really annoying that the special mail tags aren’t available for use outside of the_content(). It doesn’t allow for developers to pull that information from a form that might be used across multiple pages – i.e. using one form in a single.php template where adding a shortcode to EVERY post content isn’t practical in time or best dev practices.
Post object isn’t available in before_send_mail either, so the workaround for this issue is extremely cumbersome and frustrating.
Considering the form is sitting on a page that has already loaded its post object, this doesn’t seem like a hard feature to open up to developers – yet there’s no support for it. Extremely frustrating – PLEASE add some type of support for this. Either via opening up the special fields or making the post object available in the cf7 hooks.
- The topic ‘Special Mail Tags only work in the_content()?’ is closed to new replies.