<?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: Hooks, Shortcode to populate dynamically</title>
		<link>https://legacy.forums.gravityhelp.com/topic/hooks-shortcode-to-populate-dynamically</link>
		<description>Gravity Support Forums Topic: Hooks, Shortcode to populate dynamically</description>
		<language>en-US</language>
		<pubDate>Tue, 07 Apr 2026 15:00:47 +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/hooks-shortcode-to-populate-dynamically" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Hooks, Shortcode to populate dynamically"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hooks-shortcode-to-populate-dynamically#post-136684</link>
			<pubDate>Wed, 30 Jan 2013 17:26:19 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">136684@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for posting your work around. That's pretty neat.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>btrilli on "Hooks, Shortcode to populate dynamically"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hooks-shortcode-to-populate-dynamically#post-135375</link>
			<pubDate>Tue, 29 Jan 2013 14:04:40 +0000</pubDate>
			<dc:creator>btrilli</dc:creator>
			<guid isPermaLink="false">135375@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I kind of found a work around myself, it was a multiple part thing. First I added  `&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;#39;gform_submit_button&#38;#39;, &#38;#39;do_shortcode&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to functions.php to allow shortcodes in the submission button to work properly.&#60;/p&#62;
&#60;p&#62;Then to allow shortcode processing in the notification email I had to use:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;#39;gform_pre_submission_filter&#38;#39;, &#38;#39;change_notification&#38;#39;);
function change_notification($form){
$form[&#38;#39;notification&#38;#39;][&#38;#39;subject&#38;#39;] = do_shortcode($form[&#38;#39;notification&#38;#39;][&#38;#39;subject&#38;#39;]);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I probably could have just did&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$form[&#38;#39;notification&#38;#39;]= do_shortcode($form[&#38;#39;notification&#38;#39;]);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to process all the shortcodes present in the notification but I only needed the subject shortcode processed.&#60;/p&#62;
&#60;p&#62;Hope this helps others.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Hooks, Shortcode to populate dynamically"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hooks-shortcode-to-populate-dynamically#post-134652</link>
			<pubDate>Tue, 29 Jan 2013 01:00:42 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">134652@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Many parts of the Gravity Form currently process shortcodes.  Where specifically did you want to use shortcodes?  There are no filters you can add to allow shortcodes to be processed in areas of the Gravity Form where they currently are not.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>btrilli on "Hooks, Shortcode to populate dynamically"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hooks-shortcode-to-populate-dynamically#post-134095</link>
			<pubDate>Mon, 28 Jan 2013 13:02:09 +0000</pubDate>
			<dc:creator>btrilli</dc:creator>
			<guid isPermaLink="false">134095@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have been trying to find a way to have Gravity Forms process shortcodes as part of their form. Like in the form title or the form button text or the thank you html. I know to add shortcode capability to other parts of WP (widgets and title tadg) I can add a filter to the funciton.php file that does do_shortcode but I am not sure what the filter would be on for gravity forms or even if there is something I could add a filter to. Any information would be helpful.&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Greg
&#60;/p&#62;</description>
		</item>
		<item>
			<title>simmons on "Hooks, Shortcode to populate dynamically"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hooks-shortcode-to-populate-dynamically#post-127453</link>
			<pubDate>Mon, 21 Jan 2013 07:44:38 +0000</pubDate>
			<dc:creator>simmons</dc:creator>
			<guid isPermaLink="false">127453@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi!&#60;br /&#62;
i have a shortcode [prezzocarta] who works perfectly in the site.&#60;br /&#62;
I'm using woocommerce with gravity form plugin.&#60;br /&#62;
When i set an hidden form &#34;auto populate dynamically&#34; using the [prezzocarta] shortcode... id does not do anything.. simply ignore it.&#60;/p&#62;
&#60;p&#62;The shortcode generate a value based on the product category.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
