[wp-hackers] RSS2 Action
    Otto 
    otto at ottodestruct.com
       
    Tue Apr 15 02:09:43 GMT 2008
    
    
  
Other than the fact that <p> is not valid in an RSS2 feed, it does
work. I use that very method to insert a few things into the feed. Geo
tags, for one.
On Mon, Apr 14, 2008 at 9:06 PM, Chris Poteet <cpoteet at siolon.com> wrote:
> Why doesn't this work?
>
>  <?php
>  /*
>  Meta Data
>  */
>
>  function addContent() {
>     echo '<p>I got here</p>';
>  }
>
>  add_action('rss2_item', 'addContent'');
>
>  ?>
>  _______________________________________________
>  wp-hackers mailing list
>  wp-hackers at lists.automattic.com
>  http://lists.automattic.com/mailman/listinfo/wp-hackers
>
    
    
More information about the wp-hackers
mailing list