LLMS_User_Certificate::is_sharing_enabled()
Is sharing enabled
Return Return
(bool)
Source Source
File: includes/models/model.llms.user.certificate.php
public function is_sharing_enabled() { /** * Filter whether or not sharing is enabled for a certificate. * * @since 4.5.0 * * @param boolean $enabled Whether or not sharing is enabled. * @param LLMS_User_Certificate $certificate Certificate class instance. */ return apply_filters( 'llms_certificate_is_sharing_enabled', llms_parse_bool( $this->get( 'allow_sharing' ) ), $this ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |