[wp-hackers] RSS2 Action

Viper007Bond viper at viper007bond.com
Tue Apr 15 02:11:06 GMT 2008


Well, besides the double quote after the function name in add_action(), it
works fine for me.

Did you make sure to hard refresh your feed? Most browsers cache feeds.

On Mon, Apr 14, 2008 at 7: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
>



-- 
Viper007Bond | http://www.viper007bond.com/ | http://www.finalgear.com/


More information about the wp-hackers mailing list