<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Location of &#039;plain text&#039; hook</title>
		<link>https://legacy.forums.gravityhelp.com/topic/location-of-plain-text-hook</link>
		<description>Gravity Support Forums Topic: Location of &#039;plain text&#039; hook</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:38:43 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/location-of-plain-text-hook" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "Location of &#039;plain text&#039; hook"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/location-of-plain-text-hook#post-54659</link>
			<pubDate>Mon, 09 Apr 2012 16:06:33 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">54659@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This was submitted via Priority Support also and we will handle it there.  I am closing this topic.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tfmwa on "Location of &#039;plain text&#039; hook"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/location-of-plain-text-hook#post-54007</link>
			<pubDate>Mon, 02 Apr 2012 13:40:21 +0000</pubDate>
			<dc:creator>tfmwa</dc:creator>
			<guid isPermaLink="false">54007@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;My goal at the moment is to have an SMS sent to a restaurant owner after a customer fills out a reservation form on the new website. &#60;/p&#62;
&#60;p&#62;Right now, I'm looking to get this to work via an email notification sent to a special email address at the SMS gateway partner. At a later stage, I'm figuring out how to do it with a http get/post to the gateway people (preferred, but lack the time to figure it out at the moment). &#60;/p&#62;
&#60;p&#62;The link between form &#38;gt; email &#38;gt; SMS seems to work just fine, but the SMS contains &#38;lt; p &#38;gt; and &#38;lt; br &#38;gt; code in addition to the form data. I'd like to strip the html out of the SMS so it looks 'normal'. &#60;/p&#62;
&#60;p&#62;From what I've read, I need to change the HTML output for the forms to plain text output.&#60;br /&#62;
And also manually insert all the merge tags (and not use '{All fields}' as that generates HTML output regardless).&#60;/p&#62;
&#60;p&#62;Apparently this can be achieved through:&#60;br /&#62;
a) modifying a core plugin file (common.php)&#60;br /&#62;
b) using a hook placed in functions.php (?)&#60;br /&#62;
c) in the future via the admin interface. &#60;/p&#62;
&#60;p&#62;The hook seems to be available now, so that is preferred over modifying the core file.&#60;br /&#62;
So I'm trying to implement this hook: &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_notification_format&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_notification_format&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I've added the code to a functions.php file in the child theme folder on this development website: &#60;a href=&#34;http://goo.gl/5GA47&#34; rel=&#34;nofollow&#34;&#62;http://goo.gl/5GA47&#60;/a&#62;. &#60;/p&#62;
&#60;p&#62;Sidenote: I have changed both admin and user to 'text', so some of the code is probably redundant, but sadly I'm no php hero.  &#60;/p&#62;
&#60;p&#62;The functions.php in the child theme is uploaded. I've inserted all merge tags manually. I've checked 'undo auto-formatting' on the email notification page (don't know the English term, working on a localized installation). But there's still HTML (&#38;lt; p &#38;gt; and &#38;lt; br &#38;gt;) in the SMS. &#60;/p&#62;
&#60;p&#62;What am I not seeing here?&#60;br /&#62;
Thanks in advance!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
