<?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: Can I make update wp_postmeta early?...</title>
		<link>https://legacy.forums.gravityhelp.com/topic/can-i-make-update-wp_postmeta-early</link>
		<description>Gravity Support Forums Topic: Can I make update wp_postmeta early?...</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 20:12:50 +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/can-i-make-update-wp_postmeta-early" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Can I make update wp_postmeta early?..."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-make-update-wp_postmeta-early#post-168426</link>
			<pubDate>Tue, 12 Mar 2013 01:02:33 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">168426@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;
I have written a function that pulls the relevant data from wp_posts &#38;amp; wp_postmeta to return a string that contains all the information required.
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;What action do you have your function hooked to, and what are you doing with the data you retrieve?  Is  this related to BuddyPress Group Subscription (and is that a plugin or BP core function)?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>matthewbyrom on "Can I make update wp_postmeta early?..."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-make-update-wp_postmeta-early#post-163148</link>
			<pubDate>Thu, 07 Mar 2013 09:19:27 +0000</pubDate>
			<dc:creator>matthewbyrom</dc:creator>
			<guid isPermaLink="false">163148@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The following page (&#60;a href=&#34;http://wordpress.org/support/topic/how-to-change-plugins-load-order&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/support/topic/how-to-change-plugins-load-order&#60;/a&#62;) allowed me to add functionality to move Gravity Forms to the top of the array active_plugins.&#60;/p&#62;
&#60;p&#62;This saves having to rename the plugin at least.&#60;/p&#62;
&#60;p&#62;However, that didn't help. :(&#60;/p&#62;
&#60;p&#62;Does anyone know what php file is called when someone hits the &#34;Submit&#34; button on a Gravity Form? Perhaps I can add some functionality at that point?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>matthewbyrom on "Can I make update wp_postmeta early?..."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-make-update-wp_postmeta-early#post-162902</link>
			<pubDate>Thu, 07 Mar 2013 05:22:48 +0000</pubDate>
			<dc:creator>matthewbyrom</dc:creator>
			<guid isPermaLink="false">162902@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Update: It has been suggested that the reason this is happening is because Buddypress and its associated plugins are occurring before Gravity Forms, as Wordpress stores the list of plugins alphabetically.&#60;/p&#62;
&#60;p&#62;Therefore if I rename the Gravity Forms plugin to AA-Gravity Forms or something similar, all will be well.&#60;/p&#62;
&#60;p&#62;I realise that this will probably break any update notifications for Gravity Forms.&#60;/p&#62;
&#60;p&#62;If anyone has a more elegant solution than this (not tried it yet) any advice would be appreciated.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>matthewbyrom on "Can I make update wp_postmeta early?..."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-make-update-wp_postmeta-early#post-161772</link>
			<pubDate>Wed, 06 Mar 2013 06:32:44 +0000</pubDate>
			<dc:creator>matthewbyrom</dc:creator>
			<guid isPermaLink="false">161772@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi There.&#60;/p&#62;
&#60;p&#62;I may need to tweak Gravity Forms a touch to make an insert into wp_postmeta occur before a plugin activates. I'll explain...&#60;/p&#62;
&#60;p&#62;We have a site which creates custom posts using Gravity Forms.&#60;/p&#62;
&#60;p&#62;Using BuddyPress Group Subscription, users are able to sign up to groups &#38;amp; recieve these posts via email.&#60;br /&#62;
Using BuddyPress Group Subscription, users can choose a digest of posts or see all posts.&#60;/p&#62;
&#60;p&#62;The users need to be able to read the entire post when All Email is selected.&#60;/p&#62;
&#60;p&#62;Under normal circumstances, user hits the Submit button on our Gravity Form, the post is then added to the activity stream, &#38;amp; the email content is sent out.&#60;/p&#62;
&#60;p&#62;Normally, when the addition is made to the Activity Stream, the post_title &#38;amp; post_content is used, all located in wp_posts.&#60;/p&#62;
&#60;p&#62;I have written a function that pulls the relevant data from wp_posts &#38;amp; wp_postmeta to return a string that contains all the information required.&#60;/p&#62;
&#60;p&#62;The problem is that, when the post is added to the Activity Stream at that point wp_post contains the correct data, but wp_postmeta does not have the custom form data added yet.&#60;/p&#62;
&#60;p&#62;I tested this by decrementing the post_id by 1 when my function was called ( which is called 1 line prior to adding the post to activity stream) &#38;amp; the function works perfectly.&#60;/p&#62;
&#60;p&#62;So in an nutshell what's happening is:&#60;/p&#62;
&#60;p&#62;1) User presses submit&#60;br /&#62;
2) data is inserted into wp_posts&#60;br /&#62;
3) data is added to Activity Stream - (Data for the email functionality)&#60;br /&#62;
4) data is added to wp_postmeta&#60;/p&#62;
&#60;p&#62;Is there a way I can make Gravity Forms do 4) before the Group Email Subscription Plugin does 3)?&#60;/p&#62;
&#60;p&#62;Alternatively, is there a way I can make Gravity Forms complete its inserts before another plugin /function even starts? I'd rather take a performance hit of a few seconds on the Email side so that Gravity Forms can work.&#60;/p&#62;
&#60;p&#62;All advice would be appreciated!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
