LLMS_Site::get_url()

Gets the stored url and cleans it for comparisons


Return Return

(string)


Top ↑

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 );

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.