LLMS_Admin_AddOns::handle_actions()

Handle form submissions for managing license keys


Return Return

(void)


Top ↑

Source Source

File: includes/admin/class.llms.admin.addons.php

	public function handle_actions() {

		// Installing, activating, deactivating, and uninstalling add-ons manages plugins/themes.
		if ( ! current_user_can( 'install_plugins' ) ) {
			return;
		}

		// Activate & deactivate addons.
		if ( isset( $_REQUEST['_llms_manage_addon_nonce'] ) && wp_verify_nonce( sanitize_text_field( wp_unslash( $_REQUEST['_llms_manage_addon_nonce'] ) ), 'llms_manage_addon' ) ) {

			$this->handle_manage_addons();
			LLMS_Admin_Notices::output_notices();
		}
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.22.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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