Noptin_Background_Process::time_exceeded()

Time exceeded.


Description Description

Ensures the batch never exceeds a sensible time limit. A timeout limit of 30s is common on shared hosting.


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: includes/class-noptin-background-process.php

		protected function time_exceeded() {
			$finish = $this->start_time + apply_filters( $this->identifier . '_default_time_limit', 20 ); // 20 seconds.
			$return = false;

			if ( time() >= $finish ) {
				$return = true;
			}

			return apply_filters( $this->identifier . '_time_exceeded', $return );
		}


Top ↑

User Contributed Notes User Contributed Notes

30 day money back guarantee
Safe & Secure online payment
Custom CSS Slide Example
Custom Animation Example
Default Animation