LLMS_Site::is_clone_ignored()

Determines whether or not the clone warning notice has been ignored


Description Description

This prevents the warning from redisplaying when the site is a clone and automatic payments remain disabled.


Top ↑

Return Return

(boolean)


Top ↑

Source Source

File: includes/class.llms.site.php

	public static function is_clone_ignored() {

		/**
		 * Filters whether or not the "clone" site has already been ignored.
		 *
		 * @since 3.0.0
		 *
		 * @param boolean $is_clone_ignored If `true`, the clone is ignored, otherwise it is not.
		 */
		return apply_filters( 'llms_site_is_clone_ignored', llms_parse_bool( get_option( 'llms_site_url_ignore', 'no' ) ) );

	}


Top ↑

Changelog Changelog

Changelog
Version Description
4.12.0 Use llms_parse_bool() to determine check the option value.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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