WP_Background_Process::is_process_running()

Is process running


Description Description

Check whether the current process is already running in a background process.


Top ↑

Source Source

File: vendor/deliciousbrains/wp-background-processing/classes/wp-background-process.php

	protected function is_process_running() {
		if ( get_site_transient( $this->identifier . '_process_lock' ) ) {
			// Process already running.
			return true;
		}

		return false;
	}

Top ↑

User Contributed Notes User Contributed Notes

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