Codex tools: Log in
Contents |
Add a new feed type like /atom1/.
Requires one-time use of flush_rules() to take effect.
<?php add_feed( $feedname, $function ); ?>
Use the init action to call this function.
Since: 2.1
add_feed() is located in wp-includes/rewrite.php