thisUrl()

Returns the current url

  • return (string)

Example

<?php $url = thisUrl() ?>