$site->id()

Returns the site id, which is an empty string in case of the site object

  • return (string)

Example

<?= $site->id() ?>

Is something missing or incorrect? Edit this page on Github…