WordPress at Your Fingertips
function is not described

WP_Background_Process::is_process_running() protected WC 1.0

Is process running

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

{} It's a method of the class: WP_Background_Process{}

No Hooks.


null. Nothing.


// protected - for code of main (parent) or child class
$result = $this->is_process_running();

Code of WP_Background_Process::is_process_running() WC 5.8.0

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

	return false;