WP_Background_Process::is_process_running()

Is process running

Description

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

Source

File: bp-core/libraries/wp-background-process.php

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

			return false;
		}

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.