[wp-hackers] Post excerpts within the_content filter callback functions
John Blackbourn
johnbillion+wp at gmail.com
Fri Jun 18 12:25:04 UTC 2010
Thanks for the suggestions Doug and rovo89, they're both more elegant
than removing and re-applying the filters.
It seems there's no way around the problem of nested calls to
preg_replace_callback() though, so I've had to drop the use of
get_the_excerpt() and use my own function (which is pretty much a
clone of get_the_excerpt() without the 'the_content' filter).
John
More information about the wp-hackers
mailing list