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.
Return Return
(boolean)
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' ) ) );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 4.12.0 | Use llms_parse_bool() to determine check the option value. |
| 3.0.0 | Introduced. |