<?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: Where do you add Hooks and Filters?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/where-do-you-add-hooks-and-filters</link>
		<description>Gravity Support Forums Topic: Where do you add Hooks and Filters?</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 18:39:27 +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/where-do-you-add-hooks-and-filters" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Where do you add Hooks and Filters?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/where-do-you-add-hooks-and-filters#post-80092</link>
			<pubDate>Wed, 10 Oct 2012 11:27:13 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">80092@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Since the hooks and filters are typically PHP code, they need to be included in a PHP block in your functions.php.  If you are already inside a PHP block (which was opened with a &#38;lt;?php) then you can remove the beginning &#38;lt;?php and closing ?&#38;gt; from the example code you are pasting from our documentation.  If you paste your code after a closed ?&#38;gt; you will need to start your filter or hook code and function with at &#38;lt;?php.&#60;/p&#62;
&#60;p&#62;If you let us know what you're trying to do, and paste your complete functions.php at pastie.org or pastebin.com we can help you with the placement.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Meissner Nordic on "Where do you add Hooks and Filters?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/where-do-you-add-hooks-and-filters#post-79908</link>
			<pubDate>Tue, 09 Oct 2012 19:50:34 +0000</pubDate>
			<dc:creator>Meissner Nordic</dc:creator>
			<guid isPermaLink="false">79908@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I realize that this is a very basic question, but I feel like the Developer Documentation is missing the obvious - where do I place hook and/or Filter code? I can see a definition of the syntax but no direction as to what file it need to go into, if it is in the functions.php whether the &#38;lt;?php and ?&#38;gt; tags should be removed, etc. I've searched and searched through the forums to see some references, but there isn't clear direction.&#60;/p&#62;
&#60;p&#62;So where do I put Hooks and where do I put Filters?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
