LLMS_Site::is_clone()

Determine if this is a cloned site Compares the stored (and cleaned) llms_site_url against the WP site url


Description Description


Return Return

(boolean) true if it's a cloned site (urls DO NOT match) false if it's not (urls DO match)


Top ↑

Source Source

File: includes/class.llms.site.php

	public static function is_clone() {

		return apply_filters( 'llms_site_is_clone', ( get_site_url() !== self::get_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.





Permalink: