/** * Set the current page URL for use within tags * * @since version 1.0.0 * * @param string $url The URL to set * @param boolean $url Escape the output * * @return void **/ public static function setPageURL($url, $escape = true) { self::$pageURL = $escape === false ? $url : htmlspecialchars($url); }