Function __global->inject_feed_url

Definitions

sources/site.php

  • Add a feed (RSS/Atom) URL to the metadata for this page.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$url URLPATH No No required parameter N/A N/A The URL to the feed (if this starts with ?, then the backend script will be prepended automatically)
$title SHORT_TEXT No No required parameter N/A N/A The title of the feed

Preview

Code (PHP)

/**
 * Add a feed (RSS/Atom) URL to the metadata for this page.
 *
 * @param  URLPATH $url The URL to the feed (if this starts with ?, then the backend script will be prepended automatically)
 * @param  SHORT_TEXT $title The title of the feed
 */

function inject_feed_url(string $url, string $title)