Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LLMS_Controller_Certificates::change_sharing_settings( int $cert_id, bool $is_allowed )

Change shareable settings of a certificate.


Description Description


Parameters Parameters

$cert_id

(Required) WP Post ID of the llms_my_certificate.

$is_allowed

(Required) Allow share the certificate or not.


Top ↑

Return Return

(WP_Error|boolean) Returns true on success and false on failure or an error object when the user does not have sufficient privileges.


Top ↑

Source Source

File: includes/controllers/class.llms.controller.certificates.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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