1.20.x common.inc backdrop_get_feeds($delimiter = "\n")

Gets the feed URLs for the current page.

Parameters

string $delimiter: A delimiter to split feeds by.

Return value

string: The list of feed URLs joined together by the given delimiter.

File

includes/common.inc, line 472
Common functions that many Backdrop modules will need to reference.

Code

function backdrop_get_feeds($delimiter = "\n") {
  $feeds = backdrop_add_feed();
  return implode($delimiter, $feeds);
}