[wp-hackers] Is there a post content action hook?
emmensetech at gmail.com
Tue Oct 7 15:54:03 GMT 2008
On Tue, Oct 7, 2008 at 11:51 AM, Michael Harris <harrismw at huridocs.org>wrote:
> Is there an action hook that will be called before or after the post
> content is displayed?
> I don't want or need the filter that applies to the post title or to
> the content. A simple reason for this, is that the_content filter is
> applied when getting an excerpt.
> I wish to display information before or after a post using a plugin,
> and it is not feasible to use themes, due to the fact that the plugin
> is meant to be generic (and not tied to one theme).
> "the_content filter gets applied to the content before it trims off
> the end. It has to do this, because the raw content may contain things
> that control formatting or replacement of words and such and you don't
> want those to be bypassed just because you're getting an excerpt." -
I'm pretty sure I've used the_content as an action as well. Try it and see.
99% sure though.
More information about the wp-hackers