<?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: Notification After Post Approval</title>
		<link>https://legacy.forums.gravityhelp.com/topic/notification-after-post-approval</link>
		<description>Gravity Support Forums Topic: Notification After Post Approval</description>
		<language>en-US</language>
		<pubDate>Thu, 23 Apr 2026 07:46:46 +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/notification-after-post-approval" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Notification After Post Approval"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/notification-after-post-approval#post-44639</link>
			<pubDate>Wed, 21 Dec 2011 04:29:01 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">44639@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Very good.  Thank you for the update.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>JMega on "Notification After Post Approval"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/notification-after-post-approval#post-44513</link>
			<pubDate>Tue, 20 Dec 2011 09:00:33 +0000</pubDate>
			<dc:creator>JMega</dc:creator>
			<guid isPermaLink="false">44513@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That was it! Thank you, I would have never spotted that. Might want to update the original post at &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/solution-automatic-email-once-post-has-been-approved&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/solution-automatic-email-once-post-has-been-approved&#60;/a&#62; and remove those extra back slashes.&#60;/p&#62;
&#60;p&#62;Thanks again, its working perfectly now :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Notification After Post Approval"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/notification-after-post-approval#post-44465</link>
			<pubDate>Mon, 19 Dec 2011 23:54:37 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">44465@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Line 384 does not look correct and is giving me these warnings:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
&#38;lt;br /&#38;gt;
&#38;lt;b&#38;gt;Warning&#38;lt;/b&#38;gt;:  Unexpected character in input:  &#38;#39;\&#38;#39; (ASCII=92) state=1 in &#38;lt;b&#38;gt;/homepages/46/d93980635/htdocs/download.php&#38;lt;/b&#38;gt; on line &#38;lt;b&#38;gt;384&#38;lt;/b&#38;gt;&#38;lt;br /&#38;gt;
&#38;lt;br /&#38;gt;
&#38;lt;b&#38;gt;Warning&#38;lt;/b&#38;gt;:  Unexpected character in input:  &#38;#39;\&#38;#39; (ASCII=92) state=1 in &#38;lt;b&#38;gt;/homepages/46/d93980635/htdocs/download.php&#38;lt;/b&#38;gt; on line &#38;lt;b&#38;gt;384&#38;lt;/b&#38;gt;&#38;lt;br /&#38;gt;
No syntax errors detected in download.php&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;They're not errors but could be stopping script execution on your site.&#60;/p&#62;
&#60;p&#62;What is the purpose of the unescaped back slashes there?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>JMega on "Notification After Post Approval"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/notification-after-post-approval#post-44449</link>
			<pubDate>Mon, 19 Dec 2011 21:13:24 +0000</pubDate>
			<dc:creator>JMega</dc:creator>
			<guid isPermaLink="false">44449@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Carl... Here is a link to my functions.php: &#60;a href=&#34;http://pastie.org/3043678&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/3043678&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks so much for your help!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Notification After Post Approval"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/notification-after-post-approval#post-44417</link>
			<pubDate>Mon, 19 Dec 2011 17:39:45 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">44417@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It's hard to tell without seeing it in the context of the entire functions.php file.  Use &#60;a href=&#34;http://pastie.org&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org&#60;/a&#62; to provide us with the entire functions.php file with this code in place and we can take a look and see if we see anything unusual.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>JMega on "Notification After Post Approval"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/notification-after-post-approval#post-44413</link>
			<pubDate>Mon, 19 Dec 2011 17:31:29 +0000</pubDate>
			<dc:creator>JMega</dc:creator>
			<guid isPermaLink="false">44413@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hmmm all that I did was add this code to the bottom of my functions.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function email_members($post_ID)  {
	global $post;
	$email_to = get_post_meta($post-&#38;gt;ID, &#38;#39;Member_Email&#38;#39;, true);
	$headers = &#38;#39;From: Name &#38;lt;name@name.com&#38;gt;&#38;#39; . \\&#38;quot;\r\n\\&#38;quot;;
        $subject = &#38;quot;Your subject here&#38;quot;;
	$message = &#38;quot;Your message here&#38;quot;;
    wp_mail($email_to, $subject, $message, $headers);
    return $post_ID;
}

add_action(&#38;#39;publish_post&#38;#39;, &#38;#39;email_members&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Sorry, I'm not very good with PHP... Does anything look off about that code to anyone? I just copied it from the original post and changed the value of my custom field.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Notification After Post Approval"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/notification-after-post-approval#post-44408</link>
			<pubDate>Mon, 19 Dec 2011 17:11:12 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">44408@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This isn't built in functionality so the only way to do this is to use the customization outlined in that post.  If you get a blank white screen when you implement the code the user supplied in that post then the issue is going to be likely due to one of two things.&#60;/p&#62;
&#60;p&#62;Either 1) Your site is running out of available PHP memory and this is causing an error which typically results in the &#34;white screen of death&#34; in WordPress.  To increase your PHP memory you can follow the instructions in this tutorial:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.nerdgrind.com/increase-wordpress-and-php-memory-limit/&#34; rel=&#34;nofollow&#34;&#62;http://www.nerdgrind.com/increase-wordpress-and-php-memory-limit/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;OR 2) The likely issue is the code wasn't implemented in your themes functions.php properly.  If you didn't implement the code properly, such as opening or closing PHP where it shouldn't be opened or closed this will cause a PHP error.  I would suggest reviewing your code and make sure it is implemented properly.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>JMega on "Notification After Post Approval"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/notification-after-post-approval#post-44380</link>
			<pubDate>Mon, 19 Dec 2011 15:57:15 +0000</pubDate>
			<dc:creator>JMega</dc:creator>
			<guid isPermaLink="false">44380@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'd like to achieve the functionality described in this thread: &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/solution-automatic-email-once-post-has-been-approved&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/solution-automatic-email-once-post-has-been-approved&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;However when I add the code outlined in the post above it gives my entire wordpress install a blank white screen.&#60;/p&#62;
&#60;p&#62;Has anyone else experienced this issue or have any ideas on how I can get this to work?&#60;/p&#62;
&#60;p&#62;I am using the latest version of WP and GravityForms.&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
