LLMS_Site::get_url()
Gets the stored url and cleans it for comparisons
Return Return
(string)
Source Source
File: includes/class.llms.site.php
public static function get_url() {
$url = get_option( 'llms_site_url' );
// Remove the lock string before returning it.
$url = str_replace( self::$lock_string, '', $url );
$url = set_url_scheme( $url );
/**
* Filters the stored LLMS_Site URL
*
* @since 3.0.0
*
* @param string $url The cleaned LLMS_Site URL.
*/
return apply_filters( 'llms_site_get_url', $url );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |