add_feed


add_feed ( $feedname, $callback )

Parameters:
  • (string) feedname Feed name. Should not start with '_'.
  • (callable) callback Callback to run on feed display.
Returns:
  • (string) Feed action name.
Defined at:

Description

Adds a new feed type like /atom1/.

Related Functions

do_feed, add_filter, is_feed, add_meta, add_role

Top Google Results

User discussions

wpseek mobile