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_Admin_AddOns::handle_manage_addons()
Handle activation and deactivation of addons
Return Return
(void)
Source Source
File: includes/admin/class.llms.admin.addons.php
} } return $products; } /** * Handle form submissions for managing license keys * * @return void * @since 3.22.0 * @version 3.22.0 */ public function handle_actions() { // Activate & deactivate addons. if ( llms_verify_nonce( '_llms_manage_addon_nonce', 'llms_manage_addon' ) ) { $this->handle_manage_addons(); LLMS_Admin_Notices::output_notices(); } } /** * Handle activation and deactivation of addons * * @since 3.22.0 * @since 3.35.0 Sanitize input data. * @since 5.9.0 Stop using deprecated `FILTER_SANITIZE_STRING`. * * @return void */ private function handle_manage_addons() { // phpcs:disable WordPress.Security.NonceVerification.Missing -- nonce is verified in $this->handle_actions() method. $actions = apply_filters( 'llms_admin_add_ons_manage_actions',
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.9.0 | Stop using deprecated FILTER_SANITIZE_STRING . |
3.35.0 | Sanitize input data. |
3.22.0 | Introduced. |