WP_Background_Process::lock_process()

Lock process


Description

Lock the process so that multiple instances can’t run simultaneously. Override if applicable, but the duration should be greater than that defined in the time_exceeded() method.


Source

File: classes/importer/batch-process/helpers/class-wp-background-process.php