ai1wm_completed_timeout

ai1wm_completed_timeout

Hook Type: filter
See hook in action
See hook in
Displaying hooks found in version: all-in-one-wp-migration.6.77

apply_filters('ai1wm_completed_timeout') is found 7 times:

  • /lib/model/export/class-ai1wm-export-content.php line 118
    				// Set progress
    				Ai1wm_Status::info( sprintf( __( 'Archiving %d files...<br />%d%% complete', AI1WM_PLUGIN_NAME ), $total_files_count, $progress ) );
    
    				// More than 10 seconds have passed, break and do another request
    				if ( ( $timeout = apply_filters( 'ai1wm_completed_timeout', 10 ) ) ) {
    					if ( ( microtime( true ) - $start ) > $timeout ) {
    						$completed = false;
    						break;
    					}
    				}
    			}
    
  • /lib/model/import/class-ai1wm-import-content.php line 174
    			// Set progress
    			Ai1wm_Status::info( sprintf( __( 'Restoring %d files...<br />%d%% complete', AI1WM_PLUGIN_NAME ), $total_files_count, $progress ) );
    
    			// More than 10 seconds have passed, break and do another request
    			if ( ( $timeout = apply_filters( 'ai1wm_completed_timeout', 10 ) ) ) {
    				if ( ( microtime( true ) - $start ) > $timeout ) {
    					$completed = false;
    					break;
    				}
    			}
    		}
    
  • /lib/vendor/servmask/archiver/class-ai1wm-compressor.php line 106
    							$file_written += $file_bytes;
    						}
    
    						// Time elapsed
    						if ( ( $timeout = apply_filters( 'ai1wm_completed_timeout', 10 ) ) ) {
    							if ( ( microtime( true ) - $start ) > $timeout ) {
    								$completed = false;
    								break;
    							}
    						}
    					}
    
  • /lib/vendor/servmask/archiver/class-ai1wm-extractor.php line 374
    						}
    					}
    
    					// Time elapsed
    					if ( ( $timeout = apply_filters( 'ai1wm_completed_timeout', 10 ) ) ) {
    						if ( ( microtime( true ) - $start ) > $timeout ) {
    							$completed = false;
    							break;
    						}
    					}
    				}
    
  • /lib/vendor/servmask/archiver/class-ai1wm-extractor.php line 455
    					$file_written += $chunk_size;
    				}
    
    				// Time elapsed
    				if ( ( $timeout = apply_filters( 'ai1wm_completed_timeout', 10 ) ) ) {
    					if ( ( microtime( true ) - $start ) > $timeout ) {
    						$completed = false;
    						break;
    					}
    				}
    			}
    
  • /lib/vendor/servmask/database/class-ai1wm-database.php line 738
    				// Close result cursor
    				$this->free_result( $result );
    
    				// Time elapsed
    				if ( ( $timeout = apply_filters( 'ai1wm_completed_timeout', 10 ) ) ) {
    					if ( ( microtime( true ) - $start ) > $timeout ) {
    						$completed = false;
    						break 2;
    					}
    				}
    			} while ( $num_rows > 0 );
    
  • /lib/vendor/servmask/database/class-ai1wm-database.php line 823
    						// Set query offset
    						$query_offset = ftell( $file_handler );
    
    						// Time elapsed
    						if ( ( $timeout = apply_filters( 'ai1wm_completed_timeout', 10 ) ) ) {
    							if ( ! $this->is_atomic_query( $query ) ) {
    								if ( ( microtime( true ) - $start ) > $timeout ) {
    									$completed = false;
    									break;
    								}
    							}
    

See this hook used in plugins: