[wp-hackers] Is there a post content action hook?

Michael Harris harrismw at huridocs.org
Tue Oct 7 15:51:14 GMT 2008


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." -
http://wordpress.org/support/topic/115198

This has been driving me barmy. Thanks.

Michael.


More information about the wp-hackers mailing list