[lists] Re: [wp-hackers] Plugins -> WP Archives

Elliott Bäck ecb29 at cornell.edu
Thu Nov 4 05:17:53 UTC 2004


It seems like there is such a hook--I've seen some plugins use it.

wp>grep -Si "the_excerpt" *.*
.\wp-content\plugins\markdown.php:remove_filter('the_excerpt', 'wpautop');
.\wp-content\plugins\markdown.php:add_filter('the_excerpt', 'Markdown');
.\wp-includes\template-functions-post.php:function the_excerpt() {
.\wp-includes\template-functions-post.php:    echo 
apply_filters('the_excerpt', get_the_excerpt());
[...]

Thanks, 
Elliott C. Bäck

607-229-0623
119 Blair St. #2
------------------------------------------
www.spreadIE.com
www.elliottback.com



Kitty wrote:

>On Wed, 2004-11-03 at 16:49, Elliott Bäck wrote:
>  
>
>>So, is there any style guide or consensus on whether to filter 
>>"the_excerpt" stream or not?  Most (all?) plugins I've seen don't.
>>    
>>
>
>After a quick look, it doesn't seem there's a 'do_action" hook for
>the_excerpt.
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>hackers mailing list
>hackers at wordpress.org
>http://wordpress.org/mailman/listinfo/hackers_wordpress.org
>  
>



More information about the hackers mailing list