acquire_db_lock( $lock_key ); } /** * Releases the database lock of the record. * * Release a not held db lock will return `null`, not `false`. * * @since 4.12.6 * * @param string $lock_key The name of the lock to release. * * @return bool Whether the lock was correctly released or not. */ private function release_db_lock( $lock_key ) { return tribe( 'db-lock' )->release_db_lock( $lock_key ); } }