LLMS_Admin_Tool_Reset_Automatic_Payments::handle()

Process the tool.


Description Description

This method should do whatever the tool actually does.

By the time this tool is called a nonce and the user’s capabilities have already been checked.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/admin/tools/class-llms-admin-tool-reset-automatic-payments.php

	protected function handle() {

		LLMS_Site::clear_lock_url();
		update_option( 'llms_site_url_ignore', 'no' );
		LLMS_Site::check_status();
		llms_redirect_and_exit( esc_url_raw( admin_url( 'admin.php?page=llms-status&tab=tools' ) ) );

	}


Top ↑

Changelog Changelog

Changelog
Version Description
4.13.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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