<?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: Adding entries as posts with visibility: private</title>
		<link>https://legacy.forums.gravityhelp.com/topic/adding-entries-as-posts-with-visibility-private</link>
		<description>Gravity Support Forums Topic: Adding entries as posts with visibility: private</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 19:59:33 +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/adding-entries-as-posts-with-visibility-private" rel="self" type="application/rss+xml" />

		<item>
			<title>ckrauskopf on "Adding entries as posts with visibility: private"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-entries-as-posts-with-visibility-private#post-50992</link>
			<pubDate>Thu, 01 Mar 2012 03:36:29 +0000</pubDate>
			<dc:creator>ckrauskopf</dc:creator>
			<guid isPermaLink="false">50992@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Guys,&#60;/p&#62;
&#60;p&#62;    Just wanted to post and say I got this working with the exact same code David posted above in this thread.  I'll clarify what I did and why I was confused in case it helps other noobs like me that might have the same issues.  The code in question is posted in my previous comment above.&#60;/p&#62;
&#60;p&#62;1) This code does go into functions.php.&#60;br /&#62;
2) I was confused by the comment &#34;// update '39' to the ID of your form&#34;&#60;br /&#62;
         '39' refers to the word 'id' not to the word 'update'. Each form has an id, mine ended up being '3'. So gform_post_data_3 identifies my form, and adds the filter function in the right place.  &#60;/p&#62;
&#60;p&#62;Here are other helpful threads on the subject that helped me figure this out.  &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/gf-post-field-visibility-private-option&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/gf-post-field-visibility-private-option&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_post_data&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_post_data&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks for your help David, I know everything I just wrote must seem remarkably obvious to you, but hopefully it will be of use to some future forum user.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ckrauskopf on "Adding entries as posts with visibility: private"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-entries-as-posts-with-visibility-private#post-50876</link>
			<pubDate>Tue, 28 Feb 2012 19:06:01 +0000</pubDate>
			<dc:creator>ckrauskopf</dc:creator>
			<guid isPermaLink="false">50876@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK - I'm not sure if I did this right or not, but it doesn't seem to be working.  I put the code below in my functions.php - then I submitted the form which created a new 'submission' but it was still set to public.     &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// update &#38;#39;39&#38;#39; to the ID of your form
add_filter(&#38;#39;gform_post_data_39&#38;#39;, &#38;#39;set_post_private&#38;#39;);
function set_post_private($post_data){
    global $post;
    $post_data[&#38;#39;post_status&#38;#39;] = &#38;#39;private&#38;#39;;
    return $post_data;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Once again the form is here: &#60;a href=&#34;http://www.christopherkrauskopf.me/test/blu/new-form-test/&#34; rel=&#34;nofollow&#34;&#62;http://www.christopherkrauskopf.me/test/blu/new-form-test/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The theme is Nova by Elegant Themes.  I really appreciate your help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Adding entries as posts with visibility: private"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-entries-as-posts-with-visibility-private#post-50837</link>
			<pubDate>Tue, 28 Feb 2012 13:18:07 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">50837@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This oughta do the trick:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/3481479&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/3481479&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ckrauskopf on "Adding entries as posts with visibility: private"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-entries-as-posts-with-visibility-private#post-50789</link>
			<pubDate>Tue, 28 Feb 2012 06:11:28 +0000</pubDate>
			<dc:creator>ckrauskopf</dc:creator>
			<guid isPermaLink="false">50789@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, it looks like prij got his form working, I've got a slight variation on this.  I'd like to make all posts generated by my form private.  I'm also using the GF custom post types plugin to make the form generate a custom post type called 'submissions' rather than a regular post, which I hope doesn't complicate things too much.  I don't want the privacy to be conditional on the answer to any of the form questions, I just need all 'submissions' to be visible only to administrators.  Actually, it could be any logged in user, but it must be invisible to the public. &#60;/p&#62;
&#60;p&#62;Any ideas?  Here is the test form:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.christopherkrauskopf.me/test/blu/new-form-test/&#34; rel=&#34;nofollow&#34;&#62;http://www.christopherkrauskopf.me/test/blu/new-form-test/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Adding entries as posts with visibility: private"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-entries-as-posts-with-visibility-private#post-20987</link>
			<pubDate>Mon, 21 Mar 2011 15:21:07 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">20987@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Give this a shot: &#60;a href=&#34;http://pastie.org/1696947&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1696947&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>prij on "Adding entries as posts with visibility: private"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-entries-as-posts-with-visibility-private#post-20881</link>
			<pubDate>Sun, 20 Mar 2011 06:50:20 +0000</pubDate>
			<dc:creator>prij</dc:creator>
			<guid isPermaLink="false">20881@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Just wondering if there's a way I can save a form entry as a blog post with visibility: private using Gravity Forms? &#60;/p&#62;
&#60;p&#62;Ideally, when the user completes a form they will be able to check a checkbox which allows them to make their submission private. &#60;/p&#62;
&#60;p&#62;On submission, if this checkbox has been selected, then the entry should be saved as a private post, otherwise the entry would save as a regular post with public visibility.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
